extcon: arizona: Use MICDET for final microphone identification
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 5 Feb 2013 20:20:17 +0000 (20:20 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 11 Feb 2013 16:06:25 +0000 (16:06 +0000)
commitbf14ee5a460276a99ed35f9034bae9e74b01600f
treecdbdf09b18c74374952d6cc70fa65f1759f4c96a
parentc37b387f077c54c5a01fa240dc8448b60bd731c1
extcon: arizona: Use MICDET for final microphone identification

When using HPDET to identify the accessory still run MICDET before we
report a microphone in order to ensure that the accessory identified is
compatible with the MICDET detection ranges after having confirmed that
the device is not using a headphone.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/extcon/extcon-arizona.c