Re: pwm-led turns on during suspend

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

 



Hi Russell,

On Fri, Nov 17, 2017 at 10:45 AM, Russell King - ARM Linux
<linux@xxxxxxxxxxxxxxx> wrote:

> The LED is wired to the 3.3V supply, and most likely the PWM output goes
> low when the SoC suspends.  As SolidRun boards don't have support for
> powering down the board supplies, the 3.3V supply does not collapse on
> suspend.

I managed to fix this by introducing pinctrl_pm_select_sleep_state()
support into drivers/leds/leds-pwm.c.

Here is the complete change:
https://pastebin.com/FCsLMuW1

Now I can get the LED to be turned off during suspend.

I will separate the changes and submit the patches.

Thanks



[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