commit | 97b603a4e96565c3a3b09b9a4131d4107b0c6581 | [log] [tgz] |
---|---|---|
author | Peter Meerwald <pmeerw@pmeerw.net> | Sat Dec 06 06:00:00 2014 +0000 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Jun 14 16:09:24 2014 +0100 |
tree | 9a5998d695b4671500826e2c21f9d1780fa5d965 | |
parent | 723db167246ae60999699916a1563887e3adb535 [diff] |
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>