summaryrefslogtreecommitdiff
path: root/include/net/x25.h
diff options
context:
space:
mode:
authorOctavian Purdila <octavian.purdila@intel.com>2015-06-05 15:56:47 +0300
committerJonathan Cameron <jic23@kernel.org>2015-06-21 14:51:13 +0100
commitc6f67a1f55a7f8a8373068ca07553bd2b2731949 (patch)
tree936323b1e9e9d2ef184f35fc32f5abd459b0572e /include/net/x25.h
parente20008ed931b9bdd90d1a3fd8c9ef9307547f4ed (diff)
downloadlwn-c6f67a1f55a7f8a8373068ca07553bd2b2731949.tar.gz
lwn-c6f67a1f55a7f8a8373068ca07553bd2b2731949.zip
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/net/x25.h')
0 files changed, 0 insertions, 0 deletions