From: Eric Millbrandt Date: Fri, 3 Sep 2010 17:31:05 +0000 (-0700) Subject: Input: wm97xx-core - add retries to wm97xx_read_aux_adc X-Git-Tag: v2.6.37-rc1~135^2^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb54ddd4d78e62647b7096e4ada7389dbdf2cea7;p=pandora-kernel.git Input: wm97xx-core - add retries to wm97xx_read_aux_adc Add logic to wm97xx_read_aux_adc() to retry reading the adc if the sample failed. This could occur if the previous sample was still in the return register or the sample timed-out. Also avoid a pathologic failure mode by disabling the digitizer and returning -EBUSY after 5 retries. Signed-off-by: Eric Millbrandt Acked-by: Mark Brown Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed