提交 c7fdd3f5 编写于 作者: J Johan Hovold 提交者: Thierry Reding

pwm: tiehrpwm: Fix runtime PM imbalance at unbind

Remove unbalanced RPM put at driver unbind which resulted in a negative
usage count.

Fixes: 19891b20 ("pwm: pwm-tiehrpwm: PWM driver support for EHRPWM")
Signed-off-by: NJohan Hovold <johan@kernel.org>
Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
上级 cd9b53da
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册