]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (adt7462) Fix pin 28 monitoring
authorRoger Blofeld <blofeldus@yahoo.com>
Sun, 10 Jan 2010 19:52:32 +0000 (20:52 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 Jan 2010 18:28:47 +0000 (10:28 -0800)
commitfb99d026f4d9392ff9979beb26b5800188a56891
tree92ffec6b7aa7ffa9b93a54212e997cf4d352d64d
parent41b324e3dd32ce8418e661f9e16149a6ec5b76ce
hwmon: (adt7462) Fix pin 28 monitoring

commit bb595c923bc51dff9cdd112de18deb57ac7945d2 upstream.

The ADT7462_PIN28_VOLT value is a 4-bit field, so the corresponding
shift must be 4.

Signed-off-by: Roger Blofeld <blofeldus@yahoo.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/adt7462.c