[RFC PATCH 0/4] iio: scan_mask rework to track enabled channels on per-channel basis

From: Alexandru Ardelean
Date: Fri Apr 24 2020 - 01:18:12 EST


>From my side, I'll admit that the specific use-cases for these patches
are a bit outside of my scope of understanding.
I did my best to re-apply them on a newer tree, and dig-up the
information from the ADI tree [where they've been living for a while
now].

Also, I don't have any idea if there was a prior discussion about this.
I could not find anything on a quick search.

I'm hoping that the author would have some input on them/

Hence the RFC.

Lars-Peter Clausen (4):
iio: Move scan mask management to the core
iio: hw_consumer: use new scanmask functions
iio: Allow channels to share storage elements
iio: Track enabled channels on a per channel basis

drivers/iio/buffer/industrialio-buffer-cb.c | 17 ++--
drivers/iio/buffer/industrialio-hw-consumer.c | 19 +++-
drivers/iio/industrialio-buffer.c | 98 +++++++++++++------
drivers/iio/industrialio-core.c | 27 +++--
drivers/iio/inkern.c | 30 ++++++
include/linux/iio/buffer_impl.h | 3 +
include/linux/iio/consumer.h | 12 +++
7 files changed, 154 insertions(+), 52 deletions(-)

--
2.17.1