[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZN2GAnntROEC2iOaz7NYsipUiuFAq3v_bKgJEAjOJm+A@mail.gmail.com>
Date: Thu, 26 Jan 2012 12:53:45 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: "Kim, Milo" <Milo.Kim@...com>
Cc: Lars-Peter Clausen <lars@...afoo.de>,
"shreshthakumar.sahu@...ricsson.com"
<shreshthakumar.sahu@...ricsson.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"rpurdie@...ys.net" <rpurdie@...ys.net>
Subject: Re: [PATCH v2 1/2] leds-lm3530: set the value of max_brightness to 127
On Wed, Jan 25, 2012 at 10:40 AM, Kim, Milo <Milo.Kim@...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@...com>
Acked-by: Linus Walleij <linus.walleij@...aro.org>
On *this* exact patch.
Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists