Re: [RFC PATCH 0/5] iio: move 'modes' initialization to core

2020-12-20 Thread Alexandru Ardelean
On Sat, Dec 5, 2020 at 8:42 PM Jonathan Cameron wrote: > > On Thu, 3 Dec 2020 12:04:18 +0200 > Alexandru Ardelean wrote: > > > I stumbled over this, while trying to implement some changes to the IIO > > buffer logic. > > Seems that most drivers have a INDIO_DIRECT_MODE, and some have > > INDIO_BU

Re: [RFC PATCH 0/5] iio: move 'modes' initialization to core

2020-12-05 Thread Jonathan Cameron
On Thu, 3 Dec 2020 12:04:18 +0200 Alexandru Ardelean wrote: > I stumbled over this, while trying to implement some changes to the IIO > buffer logic. > Seems that most drivers have a INDIO_DIRECT_MODE, and some have > INDIO_BUFFER_SOFTWARE only as a workaround for not having multiple IIO > buffer

[RFC PATCH 0/5] iio: move 'modes' initialization to core

2020-12-03 Thread Alexandru Ardelean
I stumbled over this, while trying to implement some changes to the IIO buffer logic. Seems that most drivers have a INDIO_DIRECT_MODE, and some have INDIO_BUFFER_SOFTWARE only as a workaround for not having multiple IIO buffer-support-per-IIO-device (yet). Since a lot of drivers seem to only supp