[[PATCH]] drivers: leds/trigger: system cannot enter suspend

Pavel Machek pavel at ucw.cz
Fri Jun 9 15:16:11 PDT 2017


On Wed 2017-06-07 10:38:47, Grygorii Strashko wrote:
> 
> 
> On 06/06/2017 11:24 PM, Bruce Zhang wrote:
> > Hi Pavel,
> > 
> > It can also fix my issue by reverting  the commit 5ab92a7cb. But this action only does not make led_set_brightness_nosleep function to set brightness. The heartbeat trigger timer is still running even though it is not harmful.
> 
> Unfortunately, this is sort of design issue of leds triggers framework as it
> doesn't have Suspend related interfaces, so triggers continue running 
> even if led, by it self, is suspended from led_classdev_suspend().
> For example, heartbeat trigger timer can be source of spurious wake-ups 
> in some cases.

Yes, trigger keeps running. It should not be a problem... right?

									Pavel
							

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170610/bcd6e3f4/attachment.sig>


More information about the linux-arm-kernel mailing list