Re: [PATCH v3 5/5] tools: iio: add example for high-speed buffer support

2021-02-16 Thread Jonathan Cameron
On Mon, 15 Feb 2021 16:32:34 +0200 Alexandru Ardelean wrote: > Following a recent update to the IIO buffer infrastructure, this change > adds a basic example on how to access an IIO buffer via the new mmap() > interface. > > The ioctl() for the high-speed mode needs to be enabled right from the

[PATCH v3 5/5] tools: iio: add example for high-speed buffer support

2021-02-15 Thread Alexandru Ardelean
Following a recent update to the IIO buffer infrastructure, this change adds a basic example on how to access an IIO buffer via the new mmap() interface. The ioctl() for the high-speed mode needs to be enabled right from the start, before setting any parameters via sysfs (length, enable, etc), to