]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: buffer: document that buffer callback must be context safe
authorDavid Lechner <dlechner@baylibre.com>
Tue, 16 Sep 2025 21:02:57 +0000 (16:02 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 13 Oct 2025 07:37:24 +0000 (08:37 +0100)
commit592ae0ccecfac9af8f67444cab11cbb11770f571
tree1185e3869b2021cb4597965dfb7ecebe02c78f59
parent748ed9fc8596015e7e136877465919b89c7d08d6
iio: buffer: document that buffer callback must be context safe

Document that the callback registered with iio_channel_get_all_cb()
must be safe to call from any context since it is called from by
iio_push_to_buffer() which can be called in any context.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/buffer/industrialio-buffer-cb.c
include/linux/iio/consumer.h