Re: [PATCH v2 2/5] iio: Add output buffer support

2021-02-19 Thread Alexandru Ardelean
On Thu, Feb 18, 2021 at 5:30 PM Jonathan Cameron wrote: > > On Wed, 17 Feb 2021 10:34:35 +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

Re: [PATCH v2 2/5] iio: Add output buffer support

2021-02-18 Thread Jonathan Cameron
On Wed, 17 Feb 2021 10:34:35 +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

[PATCH v2 2/5] iio: Add output buffer support

2021-02-17 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