]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (asus_atk0110) Fix upper limit readings
authorLuca Tettamanti <kronos.it@gmail.com>
Tue, 28 Jul 2009 14:31:39 +0000 (16:31 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 16 Aug 2009 21:18:49 +0000 (14:18 -0700)
commit54d737bc2d7e7465584abb799bd1afd0eac55137
tree34de3501f7072009a4dd2b48e890e4aba8c6f905
parenta27b9c59f2a252c4fd8723a929cc46067a4ad58e
hwmon: (asus_atk0110) Fix upper limit readings

commit 8d282497cbf8124d6814d51a74fb13d69531c669 upstream.

On newer Asus boards the "upper" limit of a sensor is encoded as
delta from the "lower" limit. Fix the driver to correctly handle
this case.

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Tested-by: Alex Macfarlane Smith <nospam@archifishal.co.uk>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/asus_atk0110.c