On Sun, 2023-12-10 at 14:24 +0000, Jonathan Cameron wrote: > On Fri, 08 Dec 2023 16:14:12 +0100 > Nuno Sa via B4 Relay <devnull+nuno.sa.analog.com@xxxxxxxxxx> wrote: > > > From: Nuno Sa <nuno.sa@xxxxxxxxxx> > > > > Export iio_dmaengine_buffer_free() and iio_dmaengine_buffer_alloc(). > > This is in preparation of introducing IIO backends support. This will > > allow us to allocate a buffer and control it's lifetime from a device > > different from the one holding the DMA firmware properties. Effectively, > > in this case the struct device holding the firmware information about > > the DMA channels is not the same as iio_dev->dev.parent (typical case). > > > > Signed-off-by: Nuno Sa <nuno.sa@xxxxxxxxxx> > > Probably a good idea to namespace these and existing exports related > to buffer-dmaengine whilst you are at it. > Will do that... > - Nuno Sá