Skip to content

led: led_pwm: fix active-low behavior

Svyatoslav Ryhel u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1led: led_pwm: fix active-low behaviordrivers/led/led_pwm.c+2 -25 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/1] led: led_pwm: fix active-low behavior

In the case of active-low behavior the Duty Cycle needs to be set to 100%. The PWM driver takes care of this but the LED_PWM driver does not take this into account. Adjust LED_PWM to take into account polarity of PWM.

Jonas Schwöbel (1):
led: led_pwm: fix active-low behavior

 drivers/led/led_pwm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.51.0