diff options
author | Kristina Martšenko <[email protected]> | 2015-01-25 18:28:22 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2015-01-26 21:00:54 +0000 |
commit | 89bb35e200bee745c539a96666e0792301ca40f1 (patch) | |
tree | 11d82d0563a0d8fdc675572be8c93fe168726d8e /lib/memory-notifier-error-inject.c | |
parent | 6abe0300a1d5242f4ff89257197f284679af1a06 (diff) |
iio: mxs-lradc: only update the buffer when its conversions have finished
Using the touchscreen while running buffered capture results in the
buffer reporting lots of wrong values, often just zeros. This is because
we push readings to the buffer every time a touchscreen interrupt
arrives, including when the buffer's own conversions have not yet
finished. So let's only push to the buffer when its conversions are
ready.
Signed-off-by: Kristina Martšenko <[email protected]>
Reviewed-by: Marek Vasut <[email protected]>
Cc: [email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions