extcon: arizona: Check we report a valid impedance
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 1 Apr 2013 18:06:29 +0000 (19:06 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 2 Apr 2013 10:53:57 +0000 (11:53 +0100)
Occasionally we can trigger an interrupt before we have completed
impedance measurement, although the valid bit will still be set. This
patch spins reading the impedance value until a valid value is seen.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

No differences found