From: Patil, Rachna Date: Sat, 20 Jul 2013 16:27:00 +0000 (+0100) Subject: iio: ti_am335x_adc: Fix wrong samples received on 1st read X-Git-Tag: v3.11-rc5~9^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1451e546899bc8f450773b2af02e0cd000cf1fa;p=pandora-kernel.git iio: ti_am335x_adc: Fix wrong samples received on 1st read Previously we tried to read data form ADC even before ADC sequencer finished sampling. This led to wrong samples. We now wait on ADC status register idle bit to be set. Signed-off-by: Patil, Rachna Signed-off-by: Zubair Lutfullah Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed