diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-07-14 23:45:18 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2023-07-28 09:49:18 +0200 |
commit | b2c71e9f8dd0d023a847f6c38f9a83c0949ec01a (patch) | |
tree | 48b7e5ccce0a8f43e51daa715ad51d6f35dc359f /drivers/staging | |
parent | 8c89fd866ad221af037ef0ec3d60b83d0b859c65 (diff) |
pwm: stmpe: Handle errors when disabling the signal
Before the pwm framework implementedatomic updates (with the .apply()
callback) the .disable() callback returned void. This is still visible
in the stmpe driver which drops errors in the disable path.
Improve the driver to forward failures in stmpe_24xx_pwm_disable() to
the caller of pwm_apply_state().
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions