Commit c7fdd3f5 authored by Johan Hovold's avatar Johan Hovold Committed by 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: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment