Messages in this thread |  | | Date | Thu, 26 Jan 2012 12:53:45 +0100 | | Subject | Re: [PATCH v2 1/2] leds-lm3530: set the value of max_brightness to 127 | | From | Linus Walleij <> |
| |
On Wed, Jan 25, 2012 at 10:40 AM, Kim, Milo <Milo.Kim@ti.com> wrote:
> Only 7 bits are used for 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 value of brightness. > This arithmetic is not necessary because the range of brightness is 0 ~ 127. > > Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
On *this* exact patch.
Yours, Linus Walleij
|  |