]> 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>
Tue, 13 Nov 2012 23:31:30 +0000 (10:31 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Nov 2012 23:31:30 +0000 (10:31 +1100)
commit8873dac74c1e245ffa4d6c6d2ff8b45a6b8c9a7d
treeb9e9f4f1f44c5e3a4576ed9e729abf41e93e87b6
parent1c7ecdcd3de8be5f34ff9aa2fecb7182e33697cc
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