Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

iio: buffer: document iio_push_to_buffers() calling context

Document that iio_push_to_buffers() can be called from any context.

Also document the Return: value while here.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

authored by

David Lechner and committed by
Jonathan Cameron
d87b03ce 4992ce00

+3
+3
drivers/iio/industrialio-buffer.c
··· 2372 2372 * iio_push_to_buffers() - push to a registered buffer. 2373 2373 * @indio_dev: iio_dev structure for device. 2374 2374 * @data: Full scan. 2375 + * 2376 + * Context: Any context. 2377 + * Return: 0 on success, negative error code on failure. 2375 2378 */ 2376 2379 int iio_push_to_buffers(struct iio_dev *indio_dev, const void *data) 2377 2380 {