From: Andre Przywara Date: Fri, 23 Mar 2012 09:02:17 +0000 (+0100) Subject: hwmon: (fam15h_power) Increase output resolution X-Git-Tag: v3.2.21~53 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b39d6032d8c17e4f2f2074793bc99a114ac841f5;p=pandora-kernel.git hwmon: (fam15h_power) Increase output resolution On high CPU load the accumulating values in the running_avg_cap register are very low (below 10), so averaging them too early leads to unnecessary poor output resolution. Since we pretend to output micro-Watt we better keep all the bits we have as long as possible. Signed-off-by: Andre Przywara Signed-off-by: Andreas Herrmann Acked-by: Guenter Roeck Signed-off-by: Jean Delvare (cherry picked from commit 941a956b0e387b21f385f486c34ef67576775cfc) Signed-off-by: Tim Gardner Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed