]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (max1668) Add support for tempX_fault attributes
authorGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 10 Jun 2011 01:05:16 +0000 (18:05 -0700)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Fri, 15 Jul 2011 15:10:12 +0000 (08:10 -0700)
commit410161a51492ab31bb693ab1c178532134eb10b6
treef758289c8304469fc58b2c3bf37c6e3181cc1427
parent1b7f716838994f855f7e3c72368bd9ba3ac04961
hwmon: (max1668) Add support for tempX_fault attributes

MAX1668 and compatibles have several external temperature sensors, but only a
single FAULT status bit. If a fault occurs, the temperature reported on the
affected sensors is 127 degrees C. Use this knowledge to report fault on
external sensors.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/max1668.c