diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2021-07-01 10:29:27 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2021-11-17 19:10:42 +0300 |
commit | e45a178e9e285c86265611a56705a1e6444037e3 (patch) | |
tree | f4eb0ef63878f0caee9b8331df924a94f6d63882 /fs | |
parent | 92f69e582e15bf281ff1ab3ccc7abdd8392550a3 (diff) | |
download | linux-e45a178e9e285c86265611a56705a1e6444037e3.tar.xz |
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 <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions