summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/wangxun
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2024-03-29 13:35:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-30 10:49:52 +0300
commit32db1047161806460b4b4066da1b32c9a8b46e4d (patch)
tree5e05a68c7de512257b8be44cbba3a8bbee31daaa /drivers/net/ethernet/wangxun
parent29aa8e4dff9b3e68af891c17f436ed56dab39a4d (diff)
downloadlinux-32db1047161806460b4b4066da1b32c9a8b46e4d.tar.xz
pwm: Fix setting period with #pwm-cells = <1> and of_pwm_single_xlate()
[ Upstream commit 73dfe970c038d0548beccc5bfb2707e1d543b01f ] For drivers making use of of_pwm_single_xlate() (i.e. those that don't pass a hwpwm index) and also don't pass flags, setting period was wrongly skipped. This affects the pwm-pxa and ti-sn65dsi86 drivers. Reported-by: Karel Balej <balejk@matfyz.cz> Link: https://lore.kernel.org/r/D05IVTPYH35N.2CLDG6LSILRSN@matfyz.cz Fixes: 40ade0c2e794 ("pwm: Let the of_xlate callbacks accept references without period") Tested-by: Karel Balej <balejk@matfyz.cz> Link: https://lore.kernel.org/r/20240329103544.545290-2-u.kleine-koenig@pengutronix.de Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/wangxun')
0 files changed, 0 insertions, 0 deletions