]> 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:10:55 +0000 (13:10 -0700)
commitd5100b3ba633d3128c6bc64637d971ea3f39d5e0
tree90b9e2e850b1a7a9366636310682993f45f4fbab
parent7be4a00d5c4aaef6e47e8e4032aaf015e76ae6a4
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