projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd9b53d
)
pwm: tiehrpwm: Fix runtime PM imbalance at unbind
author
Johan Hovold
<johan@kernel.org>
Thu, 20 Jul 2017 10:48:16 +0000
(12:48 +0200)
committer
Thierry Reding
<thierry.reding@gmail.com>
Mon, 21 Aug 2017 06:11:25 +0000
(08:11 +0200)
Remove unbalanced RPM put at driver unbind which resulted in a negative
usage count.
Fixes:
19891b20e7c2
("pwm: pwm-tiehrpwm: PWM driver support for EHRPWM")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-tiehrpwm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pwm/pwm-tiehrpwm.c
b/drivers/pwm/pwm-tiehrpwm.c
index b5c6b06368934044f36be06b11051290d6bfdad7..6e51a075d1a769b85ccedeebe94b5e11d09406a3 100644
(file)
--- a/
drivers/pwm/pwm-tiehrpwm.c
+++ b/
drivers/pwm/pwm-tiehrpwm.c
@@
-504,7
+504,6
@@
static int ehrpwm_pwm_remove(struct platform_device *pdev)
clk_unprepare(pc->tbclk);
- pm_runtime_put_sync(&pdev->dev);
pm_runtime_disable(&pdev->dev);
return pwmchip_remove(&pc->chip);
}