]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hwmon: (it87) Fix VID reading on IT8718F/IT8720F
authorJean Delvare <khali@linux-fr.org>
Sat, 24 Oct 2009 11:28:47 +0000 (13:28 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:22:59 +0000 (16:22 -0800)
commit532d2b259d9cd9450eb7b500405cfe3e6c2f7aa7
treeb3dd6dfc9f709789603af862433b9bdf2cadb33e
parent44791e49b282eb1901b28d27d9756ace8f873dca
hwmon: (it87) Fix VID reading on IT8718F/IT8720F

commit 371dc4a6d8c3c74a9a1c74b87c2affb3fcef6500 upstream.

Comparing apples to bananas doesn't seem right. Consistently use the
chips enum for chip type comparisons, to avoid such bugs in the
future.

The bug has been there since support for the IT8718F was added, so
VID never worked for this chip nor for the similar IT8720F.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/it87.c