Re: [PATCH 13/15] iio: core: Add support for cyclic buffers

2021-11-16 Thread Alexandru Ardelean
On Mon, Nov 15, 2021 at 4:22 PM Paul Cercueil wrote: > > Introduce a new flag IIO_BUFFER_DMABUF_CYCLIC in the "flags" field of > the iio_dmabuf uapi structure. > > When set, the DMABUF enqueued with the enqueue ioctl will be endlessly > repeated on the TX output, until the buffer is disabled. > R

[PATCH 13/15] iio: core: Add support for cyclic buffers

2021-11-15 Thread Paul Cercueil
Introduce a new flag IIO_BUFFER_DMABUF_CYCLIC in the "flags" field of the iio_dmabuf uapi structure. When set, the DMABUF enqueued with the enqueue ioctl will be endlessly repeated on the TX output, until the buffer is disabled. Signed-off-by: Paul Cercueil --- drivers/iio/industrialio-buffer.c