summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2019-11-11 10:03:54 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-24 08:34:49 +0100
commit97cca37c9b3ffdb7629d9ad4c136e41c50ed19f3 (patch)
treec25099c49f3e608e4452502ea3cca6bba4ddf945 /drivers/staging
parent3827efdb99124cad83ad30d4896bb43f1389b33c (diff)
downloadlinux-stable-97cca37c9b3ffdb7629d9ad4c136e41c50ed19f3.tar.gz
linux-stable-97cca37c9b3ffdb7629d9ad4c136e41c50ed19f3.tar.bz2
linux-stable-97cca37c9b3ffdb7629d9ad4c136e41c50ed19f3.zip
pwm: omap-dmtimer: Remove PWM chip in .remove before making it unfunctional
[ Upstream commit 43efdc8f0e6d7088ec61bd55a73bf853f002d043 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions