commit | b440655b896b2d5a2fb5f918801fb0e281a537cd | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue Oct 13 18:10:26 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Oct 25 13:51:11 2015 +0000 |
tree | 7a576b45c21d5856bc189c2e5aaa099a5a74723f | |
parent | 4a60535726d90bfad16b5c52dcffaeede9fb84a9 [diff] |
iio: Add support for indicating fixed watermarks For buffers which have a fixed wake-up watermark the watermark attribute should be read-only. Add a new FIXED_WATERMARK flag to the struct iio_buffer_access_funcs, which can be set by a buffer implementation. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>