extcon: madera: Skip HPDET ranges less than external resistance
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Thu, 11 May 2017 09:20:50 +0000 (10:20 +0100)
committer강신형 <s47.kang@samsung.com>
Tue, 19 Jun 2018 07:04:40 +0000 (16:04 +0900)
commit8755ffa055e7d0c79d618ebf0713833655c7499e
treec21b19a5bc4f039ec05e7884a702cd20a0e03d22
parent336a6bbfb707bdb5027fafd2887b0e0629fb99a6
extcon: madera: Skip HPDET ranges less than external resistance

There is no point in running HPDET ranges that measure impedances
lower than the external series resistance.

Change-Id: I4e084d306d069a0ef049a22011653694744ca6b0
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
drivers/extcon/extcon-madera.c
include/linux/extcon/extcon-madera.h