commit | bc59fb4aa67570208578d35a88497f0003054bed | [log] [tgz] |
---|---|---|
author | Marc Dietrich <marvin24@gmx.de> | Tue Jul 02 22:08:33 2019 +0200 |
committer | Anatolij Gustschin <agust@denx.de> | Sat Jul 06 23:31:52 2019 +0200 |
tree | d12e595c7ce710091235320838dd6eaa00b0741a | |
parent | 367b510aa080c47c25027982def7f4cf27ab341c [diff] |
video: backlight: fix pwm inversion set_pwm() will always fail with -ENOSYS if pwm_ops set_invert() is not implemented, leaving the backlight dark. Fix this by returning no error if set_invert() is not implemented and no polarity change is requested. Fixes: 57e7775413 ("video: backlight: Parse PWM polarity cell") Signed-off-by: Marc Dietrich <marvin24@gmx.de>