]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: buffer-dmaengine: add devm_iio_dmaengine_buffer_setup_with_handle()
authorDavid Lechner <dlechner@baylibre.com>
Fri, 7 Feb 2025 20:09:06 +0000 (14:09 -0600)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 10 Feb 2025 18:47:49 +0000 (18:47 +0000)
commit79f24971b4ffbdba9733365e298982c45338e6b1
treef04b510bedd3e614daf77998b8fd221d60fdb6fe
parent4fe7fd17fe66a5e243c1de7ff32c29fac7039b8d
iio: buffer-dmaengine: add devm_iio_dmaengine_buffer_setup_with_handle()

Add a new devm_iio_dmaengine_buffer_setup_with_handle() function to
handle cases where the DMA channel is managed by the caller rather than
being requested and released by the iio_dmaengine module.

Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250207-dlech-mainline-spi-engine-offload-2-v8-9-e48a489be48c@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/buffer/industrialio-buffer-dmaengine.c
include/linux/iio/buffer-dmaengine.h