aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx27.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2019-11-11 09:03:54 +0000
committerThierry Reding <[email protected]>2020-01-20 11:29:34 +0000
commit43efdc8f0e6d7088ec61bd55a73bf853f002d043 (patch)
treec926c026c3a54fd09a425b51513768ae0ca6bdbd /drivers/pwm/pwm-imx27.c
parentpwm: Implement tracing for .get_state() and .apply_state() (diff)
downloadkernel-43efdc8f0e6d7088ec61bd55a73bf853f002d043.tar.gz
kernel-43efdc8f0e6d7088ec61bd55a73bf853f002d043.zip
pwm: omap-dmtimer: Remove PWM chip in .remove before making it unfunctional
In the old code (e.g.) mutex_destroy() was called before pwmchip_remove(). Between these two calls it is possible that a PWM callback is used which tries to grab the mutex. Fixes: 6604c6556db9 ("pwm: Add PWM driver for OMAP using dual-mode timers") Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-imx27.c')
0 files changed, 0 insertions, 0 deletions