Re: [RFC 4/6] greybus: add API for async unidirectional transfer
From: Greg Kroah-Hartman
Date: Wed Jul 16 2025 - 09:22:02 EST
On Fri, Jul 04, 2025 at 08:40:34PM -0400, Damien Riégel wrote:
> This adds a helper function for unidirectional asynchronous transfer.
> This is just for convenience as some drivers do these steps manually,
> like the loopback driver in gb_loopback_async_operation().
>
> Signed-off-by: Damien Riégel <damien.riegel@xxxxxxxxxx>
> ---
> drivers/greybus/operation.c | 52 +++++++++++++++++++++++++++++++
> include/linux/greybus/operation.h | 4 +++
> 2 files changed, 56 insertions(+)
Shouldn't you conver the loopback driver over to use this, so it's not
just increasing the overall code size, and we can see how it will be
used?
thanks,
greg k-h