commit | b1d2bff6a61140454b9d203519cc686a2e9ef32f | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Sat Jun 22 16:15:31 2013 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Thu Jun 27 10:31:43 2013 -0700 |
tree | 66fe81c78328fd9d3bffa5889dc7c707aead8103 | |
parent | 594fbe713bf60073ed884dc317a74dd5b327aba7 [diff] |
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 <linux@roeck-us.net>