![]() These callbacks are currently used by the individual buffer implementations to ensure that the request_update callback is not issued while the buffer is in use. But the core already provides sufficient measures to prevent this from happening in the first place. So it is safe to remove them. There is one functional change due to this patch. Since the buffer is no longer marked as in use when the chrdev is opened, it is now possible to enable the buffer while it is opened. This did not work before, because mark_param_change did fail if the buffer was marked as in use. Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
dac | ||
device.txt | ||
generic_buffer.c | ||
iio_utils.h | ||
overview.txt | ||
ring.txt | ||
sysfs-bus-iio | ||
sysfs-bus-iio-adc-ad7280a | ||
sysfs-bus-iio-dds | ||
sysfs-bus-iio-impedance-analyzer-ad5933 | ||
sysfs-bus-iio-light | ||
sysfs-bus-iio-light-tsl2583 | ||
sysfs-bus-iio-trigger-sysfs | ||
trigger.txt |