diff options
| author | Kim, Milo <[email protected]> | 2012-03-23 15:02:11 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2012-03-23 16:58:35 -0700 |
| commit | bbe6453204c568723679212f6d0653b92b3d6244 (patch) | |
| tree | d4aac20b7d66d26186b52d35c5dd9dbb9f5e01ef /scripts/objdiff | |
| parent | 16db7f9095bf6bb394c9ddb64e738e64a0fea733 (diff) | |
leds-lm3530: set the max_brightness to 127
Only 7 bits are used for updating the brightness. (register address :
A0h) So the max_brightness property of lm3530 should be set to 127.
On initializing registers, maximum initial brightness is limited to
'max_brightness'.
Division-by-two is removed on updating the brightness. This arithmetic is
not necessary because the range of brightness is 0 ~ 127= .
Signed-off-by: Milo(Woogyom) Kim <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions