diff options
| author | 2015-06-05 15:56:47 +0300 | |
|---|---|---|
| committer | 2015-06-21 14:51:13 +0100 | |
| commit | c6f67a1f55a7f8a8373068ca07553bd2b2731949 (patch) | |
| tree | 936323b1e9e9d2ef184f35fc32f5abd459b0572e /include/linux/stringify.h | |
| parent | iio:accel:bmc150-accel: code style cleanup (diff) | |
iio: allow userspace to flush the hwfifo with non-blocking reads
This patch changes the semantics of non-blocking reads so that a
hardware fifo flush is triggered if the available data in the device
buffer is less then the requested size.
This allows userspace to accurately generate hardware fifo flushes, by
doing a non-blocking read with a size greater then the sum of the
device buffer and hardware fifo size.
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
