diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2022-12-02 21:35:35 +0300 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2022-12-06 14:46:28 +0300 |
commit | 500f879843adf329281e418d302e1ad40baa26c3 (patch) | |
tree | fedcff172b63a332eb3510777846ef984cf034bc /drivers/pwm/pwm-sl28cpld.c | |
parent | 790a8bae62f701821305dac37a9f6013cde8488f (diff) | |
download | linux-500f879843adf329281e418d302e1ad40baa26c3.tar.xz |
pwm: sprd: Propagate errors in .get_state() to the caller
.get_state() can return an error indication. Make use of it to propagate
failing hardware accesses.
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20221130152148.2769768-11-u.kleine-koenig@pengutronix.de
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/pwm/pwm-sl28cpld.c')
0 files changed, 0 insertions, 0 deletions