[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAF+7xW=yH8Le2cbRhun=1R3DdUkETVedZt75Yt1LMsop-PQEzA@mail.gmail.com>
Date: Tue, 10 Apr 2012 19:49:23 +0800
From: Axel Lin <axel.lin@...il.com>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: linux-kernel@...r.kernel.org,
Peter Ujfalusi <peter.ujfalusi@...com>,
Rajendra Nayak <rnayak@...com>, Tero Kristo <t-kristo@...com>,
Liam Girdwood <lrg@...com>
Subject: Re: [PATCH v2] regulator: twl-regulator: Use DIV_ROUND_UP at
appropriate places
2012/4/10 Mark Brown <broonie@...nsource.wolfsonmicro.com>:
> On Mon, Apr 09, 2012 at 11:35:10PM +0800, Axel Lin wrote:
>> Signed-off-by: Axel Lin <axel.lin@...il.com>
>
> Applied, thanks.
Hi Mark,
Seems you apply V2 of the patch.
The V3 is the correct one. https://lkml.org/lkml/2012/4/9/435
( the vsel++ after DIV_ROUND_UP is required because
current code does subtract index by 1 in the list_voltage callback.
e.g. current code uses this trick to differential setting voltage to
0 (vsel is 0) or 600000 uV (vsel is 1) )
Regards,
Axel
--
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