diff options
author | Patil, Rachna | 2013-07-20 18:27:00 +0200 |
---|---|---|
committer | Jonathan Cameron | 2013-07-21 19:27:35 +0200 |
commit | b1451e546899bc8f450773b2af02e0cd000cf1fa (patch) | |
tree | b4147d4c31a3572c0c6c427fcd1ae8dfc7401c6c /virt/kvm/iodev.h | |
parent | iio:trigger: Fix use_count race condition (diff) | |
download | kernel-qcow2-linux-b1451e546899bc8f450773b2af02e0cd000cf1fa.tar.gz kernel-qcow2-linux-b1451e546899bc8f450773b2af02e0cd000cf1fa.tar.xz kernel-qcow2-linux-b1451e546899bc8f450773b2af02e0cd000cf1fa.zip |
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 <rachna@ti.com>
Signed-off-by: Zubair Lutfullah <zubair.lutfullah@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'virt/kvm/iodev.h')
0 files changed, 0 insertions, 0 deletions