Messages in this thread | | | Date | Sun, 15 Jul 2012 22:05:55 +0100 | From | Mark Brown <> | Subject | Re: [PATCH RFT 1/2] regulator: twl: Fix the formula to calculate vsel and voltage for twl6030ldo |
| |
On Mon, Jul 09, 2012 at 11:22:31AM +0800, Axel Lin wrote: > In twl6030ldo_set_voltage, current code use below formula to calculate vsel: > vsel = (min_uV/1000 - 1000)/100 + 1; > This is worng because when min_uV is 1000000 uV, vsel is 1.
Applied both, thanks - even if we need to fix some of these to be using tables again this set of changes at least maintains the status quo. [unhandled content-type:application/pgp-signature] | |