aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@amd.com>2012-03-23 10:02:17 +0100
committerBen Hutchings <ben@decadent.org.uk>2012-06-19 23:18:06 +0100
commitb39d6032d8c17e4f2f2074793bc99a114ac841f5 (patch)
tree6215e3de6f57f7dcddd5902f9bbad6e343289c2a /kernel
parent161449f010c00726bb5384a1ae371433b8d625c7 (diff)
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 <andre.przywara@amd.com> Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com> Signed-off-by: Jean Delvare <khali@linux-fr.org> (cherry picked from commit 941a956b0e387b21f385f486c34ef67576775cfc) Signed-off-by: Tim Gardner <tim.gardner@canonical.com> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions