]> 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>
Mon, 5 Nov 2012 22:54:47 +0000 (09:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Nov 2012 22:54:47 +0000 (09:54 +1100)
commitaefa2126769d1f72bb3b81fa3e402fdc7ec65913
treec194f8fa7ea3c7e380481d3cb002a7c2fa5807ec
parentc3c9ea462ba911d3fd429b327b34464671ed6341
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