Lars-Peter Clausen
e45906203d
leds: leds-pwm: Set led_classdev max_brightness
...
Currently the driver leds-pwm doesn't set max_brightness for the led device
although it's platform data proides a maximum brightness. Instead it stores its
own private driver struct. The max_brightness defaults to 255 for led device if
it has not been set.
As a result any leds-pwm device with a different maximum brightness will show
incorrect behavior, as it is posible to either set a longer then period duty
time or not be able to switch the led to full brightness.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de >
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com >
2009-12-17 11:42:34 +00:00
..
2009-12-11 15:59:23 -08:00
2009-12-12 14:27:24 -08:00
2009-12-11 17:12:17 -08:00
2009-12-15 08:53:20 -08:00
2009-12-15 09:11:28 -08:00
2009-12-11 11:55:21 -08:00
2009-12-09 19:03:16 -08:00
2009-12-15 08:53:33 -08:00
2009-12-15 08:53:28 -08:00
2009-12-14 09:58:24 -08:00
2009-12-15 08:53:25 -08:00
2009-12-14 09:58:24 -08:00
2009-12-06 11:18:28 +01:00
2009-12-15 08:53:25 -08:00
2009-12-11 10:59:21 -08:00
2009-12-11 15:22:27 -08:00
2009-12-15 08:53:34 -08:00
2009-12-15 08:53:28 -08:00
2009-12-11 14:32:49 -08:00
2009-12-11 11:55:21 -08:00
2009-12-15 08:53:36 -08:00
2009-12-15 08:53:25 -08:00
2009-12-12 14:27:24 -08:00
2009-12-09 19:43:33 -08:00
2009-12-02 01:13:11 -08:00
2009-12-14 09:58:24 -08:00
2009-12-15 08:53:25 -08:00
2009-12-14 12:33:02 -08:00
2009-12-17 11:42:34 +00:00
2009-12-14 09:58:24 -08:00
2009-12-12 14:27:24 -08:00
2009-12-15 09:12:01 -08:00
2009-12-15 08:53:25 -08:00
2009-12-09 19:43:33 -08:00
2009-12-15 09:33:36 -08:00
2009-12-15 08:53:28 -08:00
2009-12-15 08:53:35 -08:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:25 -08:00
2009-12-09 17:14:38 +11:00
2009-12-14 09:58:24 -08:00
2009-12-15 08:53:32 -08:00
2009-12-08 08:13:35 -08:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:32 -08:00
2009-12-15 08:53:32 -08:00
2009-12-15 08:59:33 -08:00
2009-12-04 15:39:55 +01:00
2009-12-14 00:26:20 +01:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:53:32 -08:00
2009-12-04 15:39:55 +01:00
2009-12-15 08:53:34 -08:00
2009-12-15 08:53:27 -08:00
2009-12-15 08:53:27 -08:00
2009-12-15 08:53:25 -08:00
2009-12-05 15:22:26 -08:00
2009-12-11 15:49:27 -08:00
2009-12-07 18:36:35 +01:00
2009-12-15 08:53:25 -08:00
2009-12-15 08:58:13 -08:00
2009-12-04 15:39:55 +01:00
2009-12-15 08:53:32 -08:00
2009-12-15 08:53:25 -08:00
2009-12-11 12:18:16 -08:00
2009-12-06 11:18:28 +01:00
2009-12-15 08:53:28 -08:00