aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-stm32-lp.c
diff options
context:
space:
mode:
authorDoug Brown <doug@schmorgal.com>2022-12-02 19:35:23 +0100
committerThierry Reding <thierry.reding@gmail.com>2022-12-06 12:46:14 +0100
commit092c2ef4571cbc7e5f466bc241ff054723c41973 (patch)
tree5da469a1d113f04cd26dddc09133fb264a1dec2d /drivers/pwm/pwm-stm32-lp.c
parent939d002b7501128640aaeffe175d6331dcce2ca6 (diff)
downloadlinux-092c2ef4571cbc7e5f466bc241ff054723c41973.tar.gz
linux-092c2ef4571cbc7e5f466bc241ff054723c41973.tar.bz2
linux-092c2ef4571cbc7e5f466bc241ff054723c41973.zip
pwm: pxa: Use abrupt shutdown mode
Switch to abrupt shutdown mode in order to stop the clock as soon as possible when PWM is disabled. This minimizes the possibility of the clock being re-enabled while it is still in the process of turning off, which will result in the clock ending up erroneously disabled. Signed-off-by: Doug Brown <doug@schmorgal.com> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20221113233639.24244-5-doug@schmorgal.com Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions