Skip to content
Commit 942c1a92 authored by Per Dalén's avatar Per Dalén Committed by Guenter Roeck
Browse files

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: default avatarPer Dalen <per.dalen@appeartv.com>
[guenter.roeck@ericsson.com: added second set of register reads]
Signed-off-by: default avatarGuenter Roeck <guenter.roeck@ericsson.com>
parent bb9973e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment