Re: [PATCH] leds: disable triggers on brightness set

2008-02-17 Thread Henrique de Moraes Holschuh
On Sun, 17 Feb 2008, Richard Purdie wrote: > On Sun, 2008-02-10 at 12:52 +0100, Németh Márton wrote: > > Disable any active triggers when the brightness attribute is > > set to zero. > > I agree with this approach and will merge this as a clarification of the > interface, thanks. I'll also merge y

Re: [PATCH] leds: disable triggers on brightness set

2008-02-17 Thread Richard Purdie
On Sun, 2008-02-10 at 12:52 +0100, Németh Márton wrote: > Disable any active triggers when the brightness attribute is > set to zero. I agree with this approach and will merge this as a clarification of the interface, thanks. I'll also merge your other two patches into the LED queue. Cheers, Ric

Re: [PATCH] leds: disable triggers on brightness set

2008-02-10 Thread Németh Márton
Disable any active triggers when the brightness attribute is set to zero. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Signed-off-by: Márton Németh <[EMAIL PROTECTED]> Cc: Richard Purdie <[EMAIL PROTECTED]> --- diff --git a/Documentation/leds-class.txt b/Documentation/leds-class.

[PATCH] leds: disable triggers on brightness set

2008-02-07 Thread Henrique de Moraes Holschuh
Disable any active triggers when someone writes to the brightness attribute. This fixes also a misbehaviour with hardware accelerated flashing. Signed-off-by: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> Cc: Márton Németh <[EMAIL PROTECTED]> Cc: Richard Purdie <[EMAIL PROTECTED]> --- drivers/l