After iio_buffer_destroy() -> iio_device_create_buffer() (in order to change buffer size) first (or several first 1..7) iio_buffer_refill() returns right data size but buffer contains zeros only (or (in case of increasing buff size) second part of the buffer contains zeros).
Data from adc output is not zero (on the dmac input). DMAC input is in FIFO mode.
Linux version: linux_xcomm_zynq 4.6.0
libiio version: 0.7