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)
committer강신형 <s47.kang@samsung.com>
Tue, 19 Jun 2018 07:52:41 +0000 (16:52 +0900)
commit84fe47af5f69f9619b9266800a45a40854ac5221
tree573f41a3c66977d6a2ea1ac07a7a23bd93fb90e5
parente5694758cf8908fde0e42d626894b52de674d76d
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