On 06/06/2014 04:30 PM, Josselin Costanzi wrote:
Currently the IIO buffer blocking read only wait until at least one data element is available.
But that is how it is supposed to work. With this patch for example you won't be able to read the last data from the buffer after the buffer has been disabled. Or if for example n is not aligned to the sample size you'll also continue to loop forever.
- Lars -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html