diff options
author | andy.hu <andy.hu@starfivetech.com> | 2022-12-01 13:52:21 +0300 |
---|---|---|
committer | andy.hu <andy.hu@starfivetech.com> | 2022-12-01 13:52:21 +0300 |
commit | 247c10448e49aeb9757029e575f6747ce5e02e5a (patch) | |
tree | c4be6034fa0944523372316ea9fa728948d1ea82 | |
parent | bb4b157c6580b7fb47a6d64142dd10599376fcd1 (diff) | |
parent | b6038e7a01deb91ba1cb86ffcf5c3cc8cab1751a (diff) | |
download | linux-247c10448e49aeb9757029e575f6747ce5e02e5a.tar.xz |
Merge branch 'CR_2650_PWM_hal.feng' into 'jh7110-5.15.y-devel'
CR 2650 PWM hal.feng
See merge request sdk/linux!626
-rw-r--r-- | drivers/pwm/pwm-starfive-ptc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/pwm/pwm-starfive-ptc.c b/drivers/pwm/pwm-starfive-ptc.c index 746e6cea5802..0874bbb49aa6 100644 --- a/drivers/pwm/pwm-starfive-ptc.c +++ b/drivers/pwm/pwm-starfive-ptc.c @@ -250,10 +250,9 @@ static int starfive_pwm_ptc_remove(struct platform_device *dev) struct starfive_pwm_ptc_device *pwm = platform_get_drvdata(dev); struct pwm_chip *chip = &pwm->chip; - clk_disable_unprepare(pwm->clk); pwmchip_remove(chip); - pm_runtime_disable(&dev->dev); + pm_runtime_force_suspend(&dev->dev); return 0; } |