aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-dwc-core.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2024-03-29 10:35:40 +0000
committerUwe Kleine-König <[email protected]>2024-03-29 12:50:10 +0000
commit73dfe970c038d0548beccc5bfb2707e1d543b01f (patch)
tree7a2a28a0bdcf88d0610f8bfdbc48ed0f80fbaa84 /drivers/pwm/pwm-dwc-core.c
parentpwm: img: fix pwm clock lookup (diff)
downloadkernel-73dfe970c038d0548beccc5bfb2707e1d543b01f.tar.gz
kernel-73dfe970c038d0548beccc5bfb2707e1d543b01f.zip
pwm: Fix setting period with #pwm-cells = <1> and of_pwm_single_xlate()
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Fixes: 40ade0c2e794 ("pwm: Let the of_xlate callbacks accept references without period") Tested-by: Karel Balej <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-dwc-core.c')
0 files changed, 0 insertions, 0 deletions