extcon: madera: Take external resistance into account for short circuit
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Mon, 31 Jul 2017 10:42:13 +0000 (11:42 +0100)
committer강신형 <s47.kang@samsung.com>
Tue, 19 Jun 2018 07:24:30 +0000 (16:24 +0900)
commitb7612e90e1696436b349ed5b305f93f87188d4d0
tree5780782b6f02aac58b29e71f7ba87d0cc468d894
parentd48935934e1c05436661fe95c796c6ff925b2d64
extcon: madera: Take external resistance into account for short circuit

When checking the minimum value of impedance we can detect we should
take any external resistance into account, as we can detect lower
impedances if there is some external resistance pushing the detected
impedance up.

Change-Id: Ic784807c811ab453a7ca8ef2fb115d1bcd884e87
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
drivers/extcon/extcon-madera.c