commit | d5a3c7a4536e1329a758e14340efd0e65252bd3d | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Mon Mar 16 11:32:15 2020 +0100 |
committer | Thierry Reding <thierry.reding@gmail.com> | Mon Mar 30 18:03:05 2020 +0200 |
tree | c3e6849751b15336e410bb3534cffef22fc14c50 | |
parent | 1451a3eed24b5fd6a604683f0b6995e0e7e16c79 [diff] |
pwm: renesas-tpu: Fix late Runtime PM enablement 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: 99b82abb0a35b073 ("pwm: Add Renesas TPU PWM driver") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>