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

2021-02-14 Thread Jonathan Cameron
On Thu, 11 Feb 2021 14:24:52 +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 v5 17/17] tools: iio: convert iio_generic_buffer to use new IIO buffer API

2021-02-11 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 att