Re: [PATCH v5 2/6] leds: triggers: Add a keyboard backlight trigger

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

 



On Thursday 24 November 2016 22:35:52 Jacek Anaszewski wrote:
> > I understood that we cannot notify about changes done by CPU
> > trigger due to high power usage... Or not?
> 
> Exactly.

So in this case exporting any new sysfs file (or using existing) which 
report POLLPRI events for LED devices with active trigger is not 
accepted.

This means that trigger itself is problematic and trigger code should 
tell to led subsystem if it should send POLLPRI events to userspace or 
not. E.g. cpu trigger should tell led subsystem that events must not be 
sent and e.g. rfkill trigger could tell that events can be sent...

-- 
Pali Rohár
pali.rohar@xxxxxxxxx

Attachment: signature.asc
Description: This is a digitally signed message part.


[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