linux/drivers/iio/buffer
Nuno Sa 82cc631881 iio: buffer-dmaengine: make use of the 'struct device *' argument
Respect the @dev argument in devm_iio_dmaengine_buffer_setup() and bind the
IIO DMA buffer lifetime to that device.

For the only user of this function, the IIO parent device is the
struct device being passed to the API so no real fix in here (just
consistency with other IIO APIs).

Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20240109-dmaengine_use_device-v1-1-1cbdb7fe9f29@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-01-23 22:06:56 +00:00
..
industrialio-buffer-cb.c
industrialio-buffer-dma.c iio: buffer-dma: split iio_dma_buffer_fileio_free() function 2023-12-21 11:30:59 +00:00
industrialio-buffer-dmaengine.c iio: buffer-dmaengine: make use of the 'struct device *' argument 2024-01-23 22:06:56 +00:00
industrialio-hw-consumer.c iio: hw_consumer: Use struct_size() helper in kzalloc() 2022-01-23 18:03:37 +00:00
industrialio-triggered-buffer.c iio: triggered-buffer: prevent possible freeing of wrong buffer 2023-11-26 17:17:04 +00:00
Kconfig
kfifo_buf.c iio: Don't silently expect attribute types 2022-11-23 19:44:04 +00:00
Makefile