Re: [PATCH v6 14/24] iio: buffer: wrap all buffer attributes into iio_dev_attr

2021-04-01 Thread Alexandru Ardelean
On Thu, Apr 1, 2021 at 11:29 AM Jonathan Cameron wrote: > > On Thu, 1 Apr 2021 09:39:47 +0200 > Marek Szyprowski wrote: > > > Hi > > > > On 15.02.2021 11:40, Alexandru Ardelean wrote: > > > This change wraps all buffer attributes into iio_dev_attr objects, and > > > assigns a reference to the

Re: [PATCH v6 14/24] iio: buffer: wrap all buffer attributes into iio_dev_attr

2021-04-01 Thread Jonathan Cameron
On Thu, 1 Apr 2021 09:39:47 +0200 Marek Szyprowski wrote: > Hi > > On 15.02.2021 11:40, Alexandru Ardelean wrote: > > This change wraps all buffer attributes into iio_dev_attr objects, and > > assigns a reference to the IIO buffer they belong to. > > > > With the addition of multiple IIO

Re: [PATCH v6 14/24] iio: buffer: wrap all buffer attributes into iio_dev_attr

2021-04-01 Thread Marek Szyprowski
Hi On 15.02.2021 11:40, Alexandru Ardelean wrote: > This change wraps all buffer attributes into iio_dev_attr objects, and > assigns a reference to the IIO buffer they belong to. > > With the addition of multiple IIO buffers per one IIO device, we need a way > to know which IIO buffer is being

[PATCH v6 14/24] iio: buffer: wrap all buffer attributes into iio_dev_attr

2021-02-15 Thread Alexandru Ardelean
This change wraps all buffer attributes into iio_dev_attr objects, and assigns a reference to the IIO buffer they belong to. With the addition of multiple IIO buffers per one IIO device, we need a way to know which IIO buffer is being enabled/disabled/controlled. We know that all buffer