aboutsummaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorOctavian Purdila <[email protected]>2015-06-05 15:56:47 +0300
committerJonathan Cameron <[email protected]>2015-06-21 14:51:13 +0100
commitc6f67a1f55a7f8a8373068ca07553bd2b2731949 (patch)
tree936323b1e9e9d2ef184f35fc32f5abd459b0572e /include/linux/workqueue.h
parente20008ed931b9bdd90d1a3fd8c9ef9307547f4ed (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 <[email protected]> Reviewed-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions