Re: [PATCH v6 24/24] tools: iio: convert iio_generic_buffer to use new IIO buffer API

2021-02-15 Thread Jonathan Cameron
On Mon, 15 Feb 2021 12:40:43 +0200 Alexandru Ardelean wrote: > This change makes use of the new IIO buffer API to read data from an IIO > buffer. > It doesn't read the /sys/bus/iio/devices/iio:deviceX/scan_elements dir > anymore, it reads /sys/bus/iio/devices/iio:deviceX/bufferY, where all the >

[PATCH v6 24/24] tools: iio: convert iio_generic_buffer to use new IIO buffer API

2021-02-15 Thread Alexandru Ardelean
This change makes use of the new IIO buffer API to read data from an IIO buffer. It doesn't read the /sys/bus/iio/devices/iio:deviceX/scan_elements dir anymore, it reads /sys/bus/iio/devices/iio:deviceX/bufferY, where all the scan_elements have been merged together with the old/classical buffer