diff options
author | Uwe Kleine-König <[email protected]> | 2021-07-01 09:29:27 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2021-11-17 17:10:42 +0100 |
commit | e45a178e9e285c86265611a56705a1e6444037e3 (patch) | |
tree | f4eb0ef63878f0caee9b8331df924a94f6d63882 /drivers/pwm/pwm-twl.c | |
parent | 92f69e582e15bf281ff1ab3ccc7abdd8392550a3 (diff) |
pwm: Restore initial state if a legacy callback fails
It is not entirely accurate to go back to the initial state after e.g.
.enable() failed, as .config() still modified the hardware, but this same
inconsistency exists for drivers that implement .apply().
Signed-off-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/pwm/pwm-twl.c')
0 files changed, 0 insertions, 0 deletions