]> git.openfabrics.org - ~shefty/rdma-dev.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)
committerJean Delvare <khali@linux-fr.org>
Tue, 28 Jul 2009 14:31:39 +0000 (16:31 +0200)
commit8d282497cbf8124d6814d51a74fb13d69531c669
tree82680b36cbe2f599069d4effa4d941648d0c4c51
parent1b54ab450b180eaeeb0eee6f0f64349246a22c14
hwmon: (asus_atk0110) Fix upper limit readings

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>
drivers/hwmon/asus_atk0110.c