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)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:27 +0000 (20:22 +0300)
commit5588ab110a0bfdeb5c249554969ab7be31516906
tree835ab04419f0ffb0590739880cc73cdbb832c2dd
parent3bc32e806d681e90e42f496c4bdf57353eb2134e
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