lkml.org 
[lkml]   [2011]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2011-08-19 18:53    [W:0.031 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site