Re: [PATCH] power: max17042: do not lose accuracy calculatingcurrent_now

From: Anton Vorontsov
Date: Fri Aug 19 2011 - 12:51:01 EST


On Tue, Aug 16, 2011 at 06:12:58AM +0000, MyungJoo Ham wrote:
> Philip Rakity<prakity@xxxxxxxxxxx> 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@xxxxxxxxxxx>

Applied, thanks!

--
Anton Vorontsov
Email: cbouatmailru@xxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/