[U-Boot] [PATCH] video: backlight: fix pwm invertation

Nicolas Chauvet kwizart at gmail.com
Tue Jul 2 08:42:29 UTC 2019


Le mar. 2 juil. 2019 à 09:41, Stefan Mavrodiev <stefan at olimex.com> a écrit :
>
> Hi,
>
> On 6/27/19 9:56 PM, marvin24 at posteo.de wrote:
> > Am Freitag, 21. Juni 2019, 22:01:35 CEST schrieb Marc Dietrich:
> >> Fixes: 57e7775413 ("video: backlight: Parse PWM polarity cell")
> >>
> >> set_pwm will always fail if pwm_set_invert is not implemented, leaving the
> >> backlight dark. Fix this by calling pwm_set_invert only if pwm is inverted.
> I'm not sure if this is true. pwm_set_invert() checks for .set_invert.
> Which pwm driver you're using?
This is drivers/pwm/pwm_tegra.c
Here .set_invert is not implemented.

Thx for the review.

-- 
-

Nicolas (kwizart)


More information about the U-Boot mailing list