]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (pmbus/ltc2978) Fix temperature reporting
authorGuenter Roeck <linux@roeck-us.net>
Thu, 21 Feb 2013 18:27:54 +0000 (10:27 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Mar 2013 20:04:59 +0000 (13:04 -0700)
commitfa5553789ef0bb74434ffedad2fd9e2d994ba92f
tree42ff70e044b30525c1b358d35b6a394995890ab0
parentfe88b8bc2e9e9f97428337582919b41bd7d3d22a
hwmon: (pmbus/ltc2978) Fix temperature reporting

commit 8c958c703ef8804093437959221951eaf0e1e664 upstream.

On LTC2978, only READ_TEMPERATURE is supported. It reports
the internal junction temperature. This register is unpaged.

On LTC3880, READ_TEMPERATURE and READ_TEMPERATURE2 are supported.
READ_TEMPERATURE is paged and reports external temperatures.
READ_TEMPERATURE2 is unpaged and reports the internal junction
temperature.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwmon/pmbus/ltc2978.c