diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2013-04-01 18:06:29 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-04-02 10:53:57 (GMT) |
commit | e2c0f476ec90dbb020b1da7e399072e062ad6c9e (patch) | |
tree | ec88305240054f6a9e2fbdf22a810f7517d94851 /drivers/leds/led-core.c | |
parent | a3e2078d6a14bc67e733f7dbd32d1bc4051c9d90 (diff) | |
download | linux-fsl-qoriq-e2c0f476ec90dbb020b1da7e399072e062ad6c9e.tar.xz |
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>
Diffstat (limited to 'drivers/leds/led-core.c')
0 files changed, 0 insertions, 0 deletions