commit | 08ce9b44b53c580987b6a63df4e2206e45e20b92 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@kernel.org> | Mon Aug 27 18:40:04 2012 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Mon Aug 27 18:58:36 2012 +0100 |
tree | 62e59a11a0048b3f26af6c616f7ab931aed97734 | |
parent | c559afbfb08c7eac215ba417251225d3a8e01062 [diff] |
iio:kfifo_buf improve error handling in read_first_n. These two elements were originally in the patch iio:kfifo_buf Take advantage of the fixed record size used in IIO but Lars-Peter Clausen pointed out they should not have been so here they are. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Tested-by: Lars-Peter Clausen <lars@metafoo.de>