summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI/testing/sysfs-devices-edac
diff options
context:
space:
mode:
authorJosselin Costanzi <josselin.costanzi@mobile-devices.fr>2015-03-22 19:33:38 +0100
committerJonathan Cameron <jic23@kernel.org>2015-03-29 17:17:09 +0200
commit37d3455672732b29a477732a94abfe95e199f0ce (patch)
treea2e4920bbecaec6f3773cbc5a7228d17283b7d21 /Documentation/ABI/testing/sysfs-devices-edac
parentIIO: Add support for L3GD20H gyroscope (diff)
downloadlinux-37d3455672732b29a477732a94abfe95e199f0ce.tar.xz
linux-37d3455672732b29a477732a94abfe95e199f0ce.zip
iio: add watermark logic to iio read and poll
Currently the IIO buffer blocking read only wait until at least one data element is available. This patch makes the reader sleep until enough data is collected before returning to userspace. This should limit the read() calls count when trying to get data in batches. Co-author: Yannick Bedhomme <yannick.bedhomme@mobile-devices.fr> Signed-off-by: Josselin Costanzi <josselin.costanzi@mobile-devices.fr> [rebased and remove buffer timeout] 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 'Documentation/ABI/testing/sysfs-devices-edac')
0 files changed, 0 insertions, 0 deletions