aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/basic/docproc.c
diff options
context:
space:
mode:
authorNuno Sá <[email protected]>2025-10-07 09:15:22 +0000
committerJonathan Cameron <[email protected]>2025-10-13 07:38:08 +0000
commitf9c198c3ccaf90a1a265fb2ffa8d4b093c3b0784 (patch)
tree6a89d14d0c10ad8b66edd92b63efd0b1b83d918b /scripts/basic/docproc.c
parentiio: buffer: support getting dma channel from the buffer (diff)
downloadkernel-f9c198c3ccaf90a1a265fb2ffa8d4b093c3b0784.tar.gz
kernel-f9c198c3ccaf90a1a265fb2ffa8d4b093c3b0784.zip
iio: buffer-dma: support getting the DMA channel
Implement the .get_dma_dev() callback for DMA buffers by returning the device that owns the DMA channel. This allows the core DMABUF infrastructure to properly map DMA buffers using the correct device, avoiding the need for bounce buffers on systems where memory is mapped above the 32-bit range. The function returns the DMA queue's device, which is the actual device responsible for DMA operations in buffer-dma implementations. Cc: [email protected] Reviewed-by: David Lechner <[email protected]> Signed-off-by: Nuno Sá <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions