Re: [RFC PATCH 1/5] iio: Add output buffer support

2021-02-14 Thread Jonathan Cameron
On Fri, 12 Feb 2021 12:20:17 +0200 Alexandru Ardelean wrote: > From: Lars-Peter Clausen > > Currently IIO only supports buffer mode for capture devices like ADCs. Add > support for buffered mode for output devices like DACs. > > The output buffer implementation is analogous to the input buffer

[RFC PATCH 1/5] iio: Add output buffer support

2021-02-12 Thread Alexandru Ardelean
From: Lars-Peter Clausen Currently IIO only supports buffer mode for capture devices like ADCs. Add support for buffered mode for output devices like DACs. The output buffer implementation is analogous to the input buffer implementation. Instead of using read() to get data from the buffer write(