Re: [PATCH 1/3] iio: kfifo: add iio_device_attach_kfifo_buffer() helper

2020-04-12 Thread Jonathan Cameron
On Mon, 6 Apr 2020 08:12:42 + "Ardelean, Alexandru" wrote: > On Sun, 2020-04-05 at 11:46 +0100, Jonathan Cameron wrote: > > [External] > > > > On Wed, 1 Apr 2020 15:59:34 +0300 > > Alexandru Ardelean wrote: > > > > > This change adds the iio_device_attach_kfifo_buffer() helper/short-hand

Re: [PATCH 1/3] iio: kfifo: add iio_device_attach_kfifo_buffer() helper

2020-04-06 Thread Ardelean, Alexandru
On Sun, 2020-04-05 at 11:46 +0100, Jonathan Cameron wrote: > [External] > > On Wed, 1 Apr 2020 15:59:34 +0300 > Alexandru Ardelean wrote: > > > This change adds the iio_device_attach_kfifo_buffer() helper/short-hand, > > which groups the simple routine of allocating a kfifo buffers via > > devm_

Re: [PATCH 1/3] iio: kfifo: add iio_device_attach_kfifo_buffer() helper

2020-04-05 Thread Jonathan Cameron
On Wed, 1 Apr 2020 15:59:34 +0300 Alexandru Ardelean wrote: > This change adds the iio_device_attach_kfifo_buffer() helper/short-hand, > which groups the simple routine of allocating a kfifo buffers via > devm_iio_kfifo_allocate() and calling iio_device_attach_buffer(). > > The mode_flags parame