From: Juerg Haefliger Date: Fri, 20 Jul 2007 21:16:47 +0000 (-0700) Subject: hwmon: fix dme1737 temp fault attribute X-Git-Tag: v2.6.23-rc2~31^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0f31403fe87cd2813dabb9b33107ceb56b84667;p=pandora-kernel.git hwmon: fix dme1737 temp fault attribute Fix temp?_fault attribute. The temp was incorrectly compared against 0x0800 rather than 0x8000. Only the upper 8 bits are compared as the datasheet doesn't specify what happens to the lower bits in case of a diode fault. Signed-off-by: Juerg Haefliger Acked-by: Jean Delvare Signed-off-by: Mark M. Hoffman --- Reading git-diff-tree failed