diff options
-rw-r--r-- | drivers/video/pwm_backlight.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/pwm_backlight.c b/drivers/video/pwm_backlight.c index a587977c225..ad20bf2441f 100644 --- a/drivers/video/pwm_backlight.c +++ b/drivers/video/pwm_backlight.c @@ -67,6 +67,9 @@ static int set_pwm(struct pwm_backlight_priv *priv) return log_ret(ret); ret = pwm_set_invert(priv->pwm, priv->channel, priv->polarity); + if (ret == -ENOSYS && !priv->polarity) + ret = 0; + return log_ret(ret); } |