diff options
author | Lars-Peter Clausen <[email protected]> | 2009-11-27 06:17:38 +0100 |
---|---|---|
committer | Richard Purdie <[email protected]> | 2009-12-17 11:42:34 +0000 |
commit | e45906203d27296b47e56efc1219f9a200bfc2db (patch) | |
tree | de1b55a2d708448006893a2bfc880c6d6ae9276b /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 1998111582f5d726ca4dbf9d68935d9e7c994374 (diff) |
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 <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions