diff options
author | Andre Przywara <andre.przywara@amd.com> | 2012-03-23 10:02:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-06-17 11:23:11 -0700 |
commit | 18f63bf60d507b4588f33ecfd8657f5d5e2a7b45 (patch) | |
tree | b7dae3898ad23958ff143652610c8d76d960b2b7 /Documentation/spinlocks.txt | |
parent | 4286e566ff410a64f5a329fb42f2d44193c52945 (diff) | |
download | kernel_samsung_aries-18f63bf60d507b4588f33ecfd8657f5d5e2a7b45.zip kernel_samsung_aries-18f63bf60d507b4588f33ecfd8657f5d5e2a7b45.tar.gz kernel_samsung_aries-18f63bf60d507b4588f33ecfd8657f5d5e2a7b45.tar.bz2 |
hwmon: (fam15h_power) Increase output resolution
commit 941a956b0e387b21f385f486c34ef67576775cfc upstream.
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>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/spinlocks.txt')
0 files changed, 0 insertions, 0 deletions