commit | 942c1a927bf296fd64fd49f04c5a8f66bb14446b | [log] [tgz] |
---|---|---|
author | Per Dalén <per.dalen@appeartv.com> | Thu May 26 09:08:53 2011 -0400 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Sat Jun 04 10:34:28 2011 -0700 |
tree | 58020f9137fd23755a918eca1ad0621109123a80 | |
parent | bb9973e4e73f43bd86698483d0c3f7a362ff94ce [diff] |
hwmon: (max6642): Better chip detection schema Improve detection of MAX6642 by reading non existing registers (0x04, 0x06 and 0xff). Reading those registers returns the previously read value. Signed-off-by: Per Dalen <per.dalen@appeartv.com> [guenter.roeck@ericsson.com: added second set of register reads] Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>