extcon: arizona: Time out if MICDET fails to report
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 1 Apr 2013 18:17:34 +0000 (19:17 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 2 Apr 2013 10:54:03 +0000 (11:54 +0100)
commit939c5671d11d86ae783f416b703c705647ac563b
treec1042dd76e6cbc81006361f5aae8001be44bf50c
parent9c2ba270eaa227c999af451e1c2c9bf0d24aa8e5
extcon: arizona: Time out if MICDET fails to report

In pathological cases the microphone detection may fail to report, for
example due to a failure to get a stable measurement. Provide a timeout
to cover such cases.

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