Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pwm: renesas-tpu: Fix late Runtime PM enablement
[ Upstream commit d5a3c7a ] Runtime PM should be enabled before calling pwmchip_add(), as PWM users can appear immediately after the PWM chip has been added. Likewise, Runtime PM should always be disabled after the removal of the PWM chip, even if the latter failed. Fixes: 99b82ab ("pwm: Add Renesas TPU PWM driver") Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Thierry Reding <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information