]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (it87) Report thermal sensor type as Intel PECI if appropriate
authorGuenter Roeck <linux@roeck-us.net>
Wed, 31 Oct 2012 23:18:31 +0000 (10:18 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 31 Oct 2012 23:43:05 +0000 (10:43 +1100)
commitb7800c49cd2abc3c00c8b1abc7156fa43ffd8138
tree6e8eb6434510bc2b93c05d2bd9c9dfdfd3ff98ee
parent8a2089566e999c1f010f2ae4c4bac56b6d199965
hwmon: (it87) Report thermal sensor type as Intel PECI if appropriate

IT8721 and IT8728 support Intel PECI temperature reporting. Each sensor
can be programmed to display the temperature reported on the PECI interface.

If configured for Intel PECI, the driver reported the wrong sensor type for
the respective thermal sensor. Fix the code to correctly report it as
"Intel PECI (6)".

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Documentation/hwmon/it87
drivers/hwmon/it87.c