iio: Add support for indicating fixed watermarks
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 13 Oct 2015 16:10:26 +0000 (18:10 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 25 Oct 2015 13:51:11 +0000 (13:51 +0000)
commitb440655b896b2d5a2fb5f918801fb0e281a537cd
tree7a576b45c21d5856bc189c2e5aaa099a5a74723f
parent4a60535726d90bfad16b5c52dcffaeede9fb84a9
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>
drivers/iio/industrialio-buffer.c
include/linux/iio/buffer.h
This page took 0.026333 seconds and 5 git commands to generate.