From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C15215E5BB for ; Wed, 16 Jul 2025 13:21:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752672115; cv=none; b=otuDepckyc/ShY1LXKlSeY2Yhu55KmS7SQx33qyW9ih4siVn3EWAFOyTlAxDia7tsdf192wTMerIXcnFiBgNVt9LZHlVD9+32iQisc5flUfLur6h2gE8ItN5PO4VXRw8AJDF+30wTI3FWMzCHUrduNVXHo88kfg/6wGbklM2/00= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752672115; c=relaxed/simple; bh=I9mhJvZjmMLRfJhLtW+djnXSuVofN+f8i7sojOsj1w8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=M2ySS8SiNUAiej/sRC6E1+vVtbCaudvtTZFBSvGMXOsk8YIUeYB5SG2XwGekaJgCfU2lQIfGjdIa+lKa+k7QjhqexfNhp+MVCbn9aDhrv1Gd1XgamYWvtfSHQbeZnUUJ8oW5dDvGDyWCYx5gP4i++/qmX5hSe8bd12gAd8FZs4M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=c0Al1cZu; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="c0Al1cZu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BFE2C4CEF0; Wed, 16 Jul 2025 13:21:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1752672114; bh=I9mhJvZjmMLRfJhLtW+djnXSuVofN+f8i7sojOsj1w8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c0Al1cZu0E0E9IkwW/bcHr0VmaMg6wJbWS+eFOMNrLIWt2AURvkaM1EUmFEsfhRav +Qccc54LJ9YpJrtA+EmKBUGaq+u2QG4yt5be7IOv6UeQByOe4IrrgyEae9D4si2wJx 8JNBvfXaGNR5DcZwTGNUMjRWKRSLQ4gzH5sHhAJI= Date: Wed, 16 Jul 2025 15:21:52 +0200 From: Greg Kroah-Hartman To: Damien =?iso-8859-1?Q?Ri=E9gel?= Cc: greybus-dev@lists.linaro.org, linux-kernel@vger.kernel.org, linux-devel@silabs.com, Alex Elder , Johan Hovold Subject: Re: [RFC 4/6] greybus: add API for async unidirectional transfer Message-ID: <2025071626-doorknob-coastline-b85c@gregkh> References: <20250705004036.3828-1-damien.riegel@silabs.com> <20250705004036.3828-5-damien.riegel@silabs.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20250705004036.3828-5-damien.riegel@silabs.com> 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 > --- > 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