]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (lm78) Prevent misdetection of Winbond chips
authorJean Delvare <khali@linux-fr.org>
Fri, 17 Oct 2008 15:51:15 +0000 (17:51 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Fri, 17 Oct 2008 15:51:15 +0000 (17:51 +0200)
commit54342d8b8343b918a69ee973b3c55378236af712
treeda0660fa8f7e4dfa44ecaf6750fe47c5f223e074
parent45123a2e63b5ab08c8268643b84912c4a81e0e38
hwmon: (lm78) Prevent misdetection of Winbond chips

The LM78 detection is relatively weak, and sometimes recent Winbond
chips can be misdetected as an LM78. We have had repeated reports of
this happening. We have an explicit check against this for the ISA
access, do the same for I2C access now.

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