Skip to content
Commit a2c4ef09 authored by Marc Dietrich's avatar Marc Dietrich Committed by Anatolij Gustschin
Browse files

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: 57e77754 ("video: backlight: Parse PWM polarity cell")
Signed-off-by: default avatarMarc Dietrich <marvin24@gmx.de>
parent 1f83431f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment