Marc Dietrich a2c4ef0977 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>
2019-07-06 23:31:52 +02:00
..
2018-12-28 12:27:53 +01:00
2019-03-28 23:45:41 +01:00
2018-06-17 21:16:04 +08:00
2019-04-15 07:31:14 -04:00
2019-06-04 23:25:54 +02:00
2018-09-28 18:26:32 +02:00
2019-04-13 20:30:09 +02:00