diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-07-07 18:27:54 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-09-02 21:38:37 +0200 |
commit | 04d775210fb99609b1725ca33313da908a40d767 (patch) | |
tree | 21546243eead922ba128bad3372c750de5c298f5 /drivers/pwm/pwm-tiehrpwm.c | |
parent | d44084c93427bb0a9261432db1a8ca76a42d805e (diff) |
pwm: hibvt: Disable the clock only after the PWM was unregistered
The driver is supposed to stay functional until pwmchip_remove()
returns. So disable clocks and reset the hardware only after that.
The return value of pwmchip_remove doesn't need to be checked because
it returns zero anyhow and should be changed to return void eventually.
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-tiehrpwm.c')
0 files changed, 0 insertions, 0 deletions