From: Kristina Martšenko Date: Sun, 25 Jan 2015 16:28:22 +0000 (+0200) Subject: iio: mxs-lradc: only update the buffer when its conversions have finished X-Git-Tag: omap-for-v4.1/wl12xx-dt~47^2~4^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89bb35e200bee745c539a96666e0792301ca40f1;p=pandora-kernel.git 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 Reviewed-by: Marek Vasut Cc: Stable@vger.kernel.org Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed