From: Jean Delvare Date: Thu, 13 Oct 2011 19:49:08 +0000 (-0400) Subject: hwmon: (w83627ehf) Properly report thermal diode sensors X-Git-Tag: v3.1-rc10~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf164c58e58328c40ebc597a8ac00cc6840f9703;p=pandora-kernel.git hwmon: (w83627ehf) Properly report thermal diode sensors The w83627ehf driver is improperly reporting thermal diode sensors as type 2, instead of 3. This caused "sensors" and possibly other monitoring tools to report these sensors as "transistor" instead of "thermal diode". Furthermore, diode subtype selection (CPU vs. external) is only supported by the original W83627EHF/EHG. All later models only support CPU diode type, and some (NCT6776F) don't even have the register in question so we should avoid reading from it. Signed-off-by: Jean Delvare Cc: stable@kernel.org Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed