diff options
| author | Nuno Sá <[email protected]> | 2025-10-07 09:15:23 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2025-10-13 07:38:08 +0000 |
| commit | 3db847df994d475db7812dde90376f2848bcd30a (patch) | |
| tree | bc9e13febbdf25ac5ece81cb6b12f8b0a9de6bf2 /scripts/basic/docproc.c | |
| parent | iio: buffer-dma: support getting the DMA channel (diff) | |
| download | kernel-3db847df994d475db7812dde90376f2848bcd30a.tar.gz kernel-3db847df994d475db7812dde90376f2848bcd30a.zip | |
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: 7a86d469983a ("iio: buffer-dmaengine: Support new DMABUF based userspace API")
Reviewed-by: David Lechner <[email protected]>
Signed-off-by: Nuno Sá <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions
