git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe0d422
)
hwmon: (lm95241) Fix chip detection code
author
Guenter Roeck
<guenter.roeck@ericsson.com>
Mon, 27 Jun 2011 18:22:46 +0000
(11:22 -0700)
committer
Guenter Roeck
<guenter.roeck@ericsson.com>
Sat, 9 Jul 2011 00:52:59 +0000
(17:52 -0700)
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+
No differences found