Re: (subset) [PATCH v2] leds: pwm: Don't disable the PWM when the LED should be off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 22 Sep 2023 21:28:34 +0200, Uwe Kleine-König wrote:
> Disabling a PWM (i.e. calling pwm_apply_state with .enabled = false)
> gives no guarantees what the PWM output does. It might freeze where it
> currently is, or go in a High-Z state or drive the active or inactive
> state, it might even continue to toggle.
> 
> To ensure that the LED gets really disabled, don't disable the PWM even
> when .duty_cycle is zero.
> 
> [...]

Applied, thanks!

[1/1] leds: pwm: Don't disable the PWM when the LED should be off
      commit: 1025d4c1837eb457f9d599611096bf3a4d954333

--
Lee Jones [李琼斯]




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux