Re: [PATCH v2] fujitsu-laptop: Unify max brightness of exported leds

2016-07-01 Thread Matej Groma
On Fri, Jul 01, 2016 at 12:19:27PM -0700, Darren Hart wrote: > On Thu, Jun 30, 2016 at 10:30:57PM +0930, Jonathan Woithe wrote: > > On Wed, Jun 29, 2016 at 09:28:03AM +0200, Matej Groma wrote: > > > Exported leds had maximum brightness previously unset, thus having > >

[PATCH] fujitsu-laptop: Rework brightness of eco led

2016-07-04 Thread Matej Groma
For the sake of internal consistency, unset maximum brightness of eco led and make it activatable only on values >= LED_FULL. Signed-off-by: Matej Groma --- Here is a small statistics covering max brightness of platform-x86 leds: 1 other unset 8 6 7 3/7 leds that have un

[PATCH v2] fujitsu-laptop: Unify max brightness of exported leds

2016-06-29 Thread Matej Groma
Exported leds had maximum brightness previously unset, thus having value 255. Set maximum brightness of leds that can only be turned off or on to 1, making the behavior more consistent with other leds having binary state. Signed-off-by: Matej Groma --- Changes from v1: made commit