Merge tag 'video-for-2019.07' of https://gitlab.denx.de/u-boot/custodians/u-boot-video
- fix pwm backlight
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user