[U-Boot] [PATCH v2] video: backlight: fix pwm invertation
Anatolij Gustschin
agust at denx.de
Tue Jul 2 21:04:31 UTC 2019
On Tue, 02 Jul 2019 22:08:33 +0200
marvin24 at posteo.de marvin24 at 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 at gmx.de>
Reviewed-by: Anatolij Gustschin <agust at denx.de>
More information about the U-Boot
mailing list