From: Guenter Roeck Date: Sat, 22 Jun 2013 23:15:31 +0000 (-0700) Subject: hwmon: (nct6775) Fix temperature alarm attributes X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~13^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1d2bff6a61140454b9d203519cc686a2e9ef32f;p=pandora-kernel.git hwmon: (nct6775) Fix temperature alarm attributes Driver displays wrong alarms for temperature attributes. Turns out that temperature alarm bits are not fixed, but determined by temperature source mapping. To fix the problem, walk through the temperature sources to determine the correct alarm bit associated with a given attribute. Cc: stable@vger.kernel.org # 3.10+ Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed