extcon: madera: Mark output shorted when less than short impedance
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Fri, 4 Aug 2017 10:26:39 +0000 (11:26 +0100)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:28 +0000 (20:22 +0300)
commit24f6d92ddb50b574aaf715c5de6fd3928192ef51
tree71e281ded4c6b497ae5caa504b99f90bf217450d
parent332346efb2695fce505878e1d57388e56a4c7f53
extcon: madera: Mark output shorted when less than short impedance

We should be updating out_shorted[] based on the measured impedance so
that the codec driver knows whether it is safe to enable the output.

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