From: Charles Keepax Date: Mon, 1 Apr 2013 18:06:29 +0000 (+0100) Subject: extcon: arizona: Check we report a valid impedance X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~139^2~36^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2c0f476ec90dbb020b1da7e399072e062ad6c9e;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed