diff options
author | Jean Delvare <jdelvare@suse.de> | 2015-09-01 18:07:41 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-10-07 10:04:16 -0400 |
commit | 39691ddadf465c59313fb27adb0dbe0975b2b5f5 (patch) | |
tree | 71a08a84dd638bc050b636ba33618e78b9a88008 /net | |
parent | e12419a52e738fb967e2c721ae5bf7df47e7840b (diff) | |
download | lwn-39691ddadf465c59313fb27adb0dbe0975b2b5f5.tar.gz lwn-39691ddadf465c59313fb27adb0dbe0975b2b5f5.zip |
tg3: Fix temperature reporting
[ Upstream commit d3d11fe08ccc9bff174fc958722b5661f0932486 ]
The temperature registers appear to report values in degrees Celsius
while the hwmon API mandates values to be exposed in millidegrees
Celsius. Do the conversion so that the values reported by "sensors"
are correct.
Fixes: aed93e0bf493 ("tg3: Add hwmon support for temperature")
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Prashant Sreedharan <prashant@broadcom.com>
Cc: Michael Chan <mchan@broadcom.com>
Cc: stable@vger.kernel.org [v3.6+]
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions