Messages in this thread | | | From | Axel Lin <> | Date | Tue, 10 Apr 2012 19:49:23 +0800 | Subject | Re: [PATCH v2] regulator: twl-regulator: Use DIV_ROUND_UP at appropriate places |
| |
2012/4/10 Mark Brown <broonie@opensource.wolfsonmicro.com>: > On Mon, Apr 09, 2012 at 11:35:10PM +0800, Axel Lin wrote: >> Signed-off-by: Axel Lin <axel.lin@gmail.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
| |