diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-06-27 11:22:46 -0700 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-07-08 17:52:59 -0700 |
commit | 27739e694a3c34b5e371575d74e500d60111c689 (patch) | |
tree | 53daf18502775272d26174ccd96c8c2678806751 /drivers/hwmon/adt7462.c | |
parent | fe0d42203cb5616eeff68b14576a0f7e2dd56625 (diff) | |
download | kernel_samsung_crespo-27739e694a3c34b5e371575d74e500d60111c689.zip kernel_samsung_crespo-27739e694a3c34b5e371575d74e500d60111c689.tar.gz kernel_samsung_crespo-27739e694a3c34b5e371575d74e500d60111c689.tar.bz2 |
hwmon: (lm95241) Fix chip detection code
The LM95241 driver accepts every chip ID equal to or larger than 0xA4 as its
own, and other chips such as LM95245 use chip IDs in the accepted ID range.
This results in false chip detection.
Fix problem by accepting only the known LM95241 chip ID.
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Cc: stable@kernel.org # 2.6.30+
Diffstat (limited to 'drivers/hwmon/adt7462.c')
0 files changed, 0 insertions, 0 deletions