Re: [PATCH 2/4] iio: add iio_channel_cb_get_iio_buffer helper
From: Jonathan Cameron <jic23@kernel.org>
Date: 2022-08-19 17:52:12
Also in:
linux-iio, linux-mips, lkml
From: Jonathan Cameron <jic23@kernel.org>
Date: 2022-08-19 17:52:12
Also in:
linux-iio, linux-mips, lkml
On Fri, 19 Aug 2022 11:14:04 +0300 Andy Shevchenko [off-list ref] wrote:
On Wed, Aug 17, 2022 at 1:58 PM Artur Rojek [off-list ref] wrote:quoted
Introduce a helper function to retrieve an iio_buffer from iio_cb_buffer. This is useful for consumers that need to extract metadata about the buffer, e.g. get the channel offsets.I'm wondering if we should start using the IIO namespace for new exported symbols.
I'd rather not jump ahead with that because I want to come up with a coherent set of IIO namespaces to separate core / drivers / consumers and platform type code (there's a bit of that left) plus maybe even trigger and buffer implementations. We should probably get on with that though! Jonathan