summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2021-07-07 19:27:53 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-26 15:09:01 +0300
commita2551d0a29e937515a9711b604d88cd1a31c386f (patch)
tree79d5a1899fc9fe2f160fe0743648f3491e5bf369 /block
parenta6a2b36a8cc45bf9063cdc4bde7434e8eac66ecd (diff)
downloadlinux-a2551d0a29e937515a9711b604d88cd1a31c386f.tar.xz
pwm: stm32-lp: Don't modify HW state in .remove() callback
[ Upstream commit d44084c93427bb0a9261432db1a8ca76a42d805e ] A consumer is expected to disable a PWM before calling pwm_put(). And if they didn't there is hopefully a good reason (or the consumer needs fixing). Also if disabling an enabled PWM was the right thing to do, this should better be done in the framework instead of in each low level driver. 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 'block')
0 files changed, 0 insertions, 0 deletions