diff options
author | Andre Przywara <andre.przywara@amd.com> | 2012-03-23 10:02:17 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-03-23 10:02:17 +0100 |
commit | 941a956b0e387b21f385f486c34ef67576775cfc (patch) | |
tree | 35d118d214a7c4d57ef1f8b085cafc9725255b75 /drivers/hwmon/w83795.c | |
parent | hwmon: (fam15h_power) Correct sign extension of running_avg_capture (diff) | |
download | linux-941a956b0e387b21f385f486c34ef67576775cfc.tar.xz linux-941a956b0e387b21f385f486c34ef67576775cfc.zip |
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>
Diffstat (limited to 'drivers/hwmon/w83795.c')
0 files changed, 0 insertions, 0 deletions