Messages in this thread | | | Date | Fri, 19 Aug 2011 20:50:51 +0400 | From | Anton Vorontsov <> | Subject | Re: [PATCH] power: max17042: do not lose accuracy calculating current_now |
| |
On Tue, Aug 16, 2011 at 06:12:58AM +0000, MyungJoo Ham wrote: > Philip Rakity<prakity@marvell.com> Date : 2011-08-13 13:19 (GMT+09:00) > > > > PROP_CURRENT_NOW value is first divided then multiplied up > > causing a lose of accuracy. Use the same method as > > PROP_CURRENT_AVG to do the calculation. > > > > Signed-off-by: Philip Rakity > > Acked-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Applied, thanks!
-- Anton Vorontsov Email: cbouatmailru@gmail.com
| |