mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
pwm: sifive: Shut down hardware only after pwmchip_remove() completed
[ Upstream commit2375e964d5] The PWMs are expected to be functional until pwmchip_remove() is called. So disable the clks only afterwards. Fixes:9e37a53eb0("pwm: sifive: Add a driver for SiFive SoC PWM") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Tested-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
53d784838a
commit
009b384092
1 changed files with 3 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue