diff options
author | 2014-12-06 06:00:00 +0000 | |
---|---|---|
committer | 2014-06-14 16:09:24 +0100 | |
commit | 97b603a4e96565c3a3b09b9a4131d4107b0c6581 (patch) | |
tree | 9a5998d695b4671500826e2c21f9d1780fa5d965 /include/linux/iio/trigger.h | |
parent | staging:iio: Fix mention of INDIO_RING_TRIGGERED to INDIO_BUFFER_TRIGGERED (diff) | |
download | wireguard-linux-97b603a4e96565c3a3b09b9a4131d4107b0c6581.tar.xz wireguard-linux-97b603a4e96565c3a3b09b9a4131d4107b0c6581.zip |
staging:iio: Fix error handling in generic_buffer example
read() does not return -EAGAIN
read() returns -1 and the errno value needs to be checked for -EAGAIN
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio/trigger.h')
0 files changed, 0 insertions, 0 deletions