aboutsummaryrefslogtreecommitdiff
path: root/drivers/pwm/pwm-stm32.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2019-11-11 10:03:54 +0100
committerThierry Reding <thierry.reding@gmail.com>2020-01-20 12:29:34 +0100
commit43efdc8f0e6d7088ec61bd55a73bf853f002d043 (patch)
treec926c026c3a54fd09a425b51513768ae0ca6bdbd /drivers/pwm/pwm-stm32.c
parent1188829abc2abbef0da7a082fdb6a315a050a0a0 (diff)
downloadlinux-43efdc8f0e6d7088ec61bd55a73bf853f002d043.tar.gz
linux-43efdc8f0e6d7088ec61bd55a73bf853f002d043.tar.bz2
linux-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 <u.kleine-koenig@pengutronix.de> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-stm32.c')
0 files changed, 0 insertions, 0 deletions