linux/drivers/iio/buffer
Nuno Sá 3db847df99 iio: buffer-dmaengine: enable .get_dma_dev()
Wire up the .get_dma_dev() callback to use the DMA buffer infrastructure's
implementation. This ensures that DMABUF operations use the correct DMA
device for mapping, which is essential for proper operation on systems
where memory is mapped above the 32-bit range.

Without this callback, the core would fall back to using the IIO device's
parent, which may not have the appropriate DMA mask configuration for
high memory access.

Fixes: 7a86d46998 ("iio: buffer-dmaengine: Support new DMABUF based userspace API")
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
History 2025-10-13 08:38:08 +01:00
..
industrialio-buffer-cb.c iio: buffer: buffer-cb: drop double initialization of demux list 2025-08-16 11:57:06 +01:00
industrialio-buffer-dma.c iio: buffer-dma: support getting the DMA channel 2025-10-13 08:38:08 +01:00
industrialio-buffer-dmaengine.c iio: buffer-dmaengine: enable .get_dma_dev() 2025-10-13 08:38:08 +01:00
industrialio-hw-consumer.c iio: buffer: make use of iio_get_masklength() 2024-07-29 20:31:07 +01:00
industrialio-triggered-buffer.c iio: buffer: Fix checkpatch.pl warning 2025-06-09 07:45:35 +01:00
Kconfig iio: buffer: Kconfig: add title for IIO_TRIGGERED_BUFFER symbol 2020-09-29 17:27:08 +01:00
kfifo_buf.c iio: add missing MODULE_DESCRIPTION() macros 2024-06-13 19:19:23 +01:00
Makefile iio: Add hardware consumer buffer support 2018-01-10 10:30:05 +00:00