]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm85) Don't bind to Winbond/Nuvoton WPCD377I
authorJean Delvare <khali@linux-fr.org>
Tue, 15 Sep 2009 15:18:14 +0000 (17:18 +0200)
committerJean Delvare <khali@linux-fr.org>
Tue, 15 Sep 2009 15:18:14 +0000 (17:18 +0200)
commit60e393ce0d5f3e2cf35431e4a2f3f88625e5cdc4
tree405140965ec9aec82cb5f180afa6aefdc4413632
parent127dae901df6fb5f3c1d8b6d93861012eaaf9ab1
hwmon: (lm85) Don't bind to Winbond/Nuvoton WPCD377I

The Winbond/Nuvoton WPCD377I is the reduced version of a Super-I/O
which emulates the National Semiconductor LM96000 hardware monitoring
chips, but without the hardware monitoring part. Instead of plain
disabling the emulation, the vendor left the emulated chip visible,
but all monitored values are always zero. This is rather confusing for
the users. So detect this case and refuse to bind to such fake chips.

This fixes lm-sensors ticket #2182:
http://www.lm-sensors.org/ticket/2182

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm85.c