
2 Jul
2019
2 Jul
'19
11:04 p.m.
On Tue, 02 Jul 2019 22:08:33 +0200 marvin24@posteo.de marvin24@posteo.de wrote:
Fixes: 57e7775413 ("video: backlight: Parse PWM polarity cell")
set_pwm will always fail with -ENOSYS if pwm_set_invert is not implemented, leaving the backlight dark. Fix this by returning no error if pwm_set_invert is not implemented and no polarity change is requested.
v2: simplify logic
Signed-off-by: Marc Dietrich marvin24@gmx.de
Reviewed-by: Anatolij Gustschin agust@denx.de