Re: [RFC PATCH 08/14] iio: core: use new common ioctl() mechanism

2020-05-31 Thread Jonathan Cameron
On Mon, 25 May 2020 07:27:43 + "Ardelean, Alexandru" wrote: > On Sun, 2020-05-24 at 17:47 +0100, Jonathan Cameron wrote: > > [External] > > > > On Fri, 8 May 2020 16:53:42 +0300 > > Alexandru Ardelean wrote: > > > > > This change makes use of the new centralized ioctl() mechanism. The ev

Re: [RFC PATCH 08/14] iio: core: use new common ioctl() mechanism

2020-05-25 Thread Ardelean, Alexandru
On Sun, 2020-05-24 at 17:47 +0100, Jonathan Cameron wrote: > [External] > > On Fri, 8 May 2020 16:53:42 +0300 > Alexandru Ardelean wrote: > > > This change makes use of the new centralized ioctl() mechanism. The event > > interface registers it's ioctl() handler to IIO device. > > Both the buffe

Re: [RFC PATCH 08/14] iio: core: use new common ioctl() mechanism

2020-05-24 Thread Jonathan Cameron
On Fri, 8 May 2020 16:53:42 +0300 Alexandru Ardelean wrote: > This change makes use of the new centralized ioctl() mechanism. The event > interface registers it's ioctl() handler to IIO device. > Both the buffer & event interface call 'iio_device_ioctl()', which should > take care of all of indio

[RFC PATCH 08/14] iio: core: use new common ioctl() mechanism

2020-05-08 Thread Alexandru Ardelean
This change makes use of the new centralized ioctl() mechanism. The event interface registers it's ioctl() handler to IIO device. Both the buffer & event interface call 'iio_device_ioctl()', which should take care of all of indio_dev's ioctl() calls. Later, we may add per-buffer ioctl() calls, and