path: root/net
diff options
authorJean Delvare <jdelvare@suse.de>2015-09-01 18:07:41 +0200
committerDavid S. Miller <davem@davemloft.net>2015-09-01 15:03:59 -0700
commitd3d11fe08ccc9bff174fc958722b5661f0932486 (patch)
tree9d07265a7d2df0efe9d095b036d17348b431cd90 /net
parentb6c6aedcbcbacd7b0cb4b64ed5ac835bc1c60a03 (diff)
tg3: Fix temperature reporting
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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions

Privacy Policy