commit | e2c0f476ec90dbb020b1da7e399072e062ad6c9e | [log] [tgz] |
---|---|---|
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | Mon Apr 01 19:06:29 2013 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Apr 02 11:53:57 2013 +0100 |
tree | ec88305240054f6a9e2fbdf22a810f7517d94851 | |
parent | a3e2078d6a14bc67e733f7dbd32d1bc4051c9d90 [diff] |
extcon: arizona: Check we report a valid impedance 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>