Re: [PATCH 0/6] usb: gadget: add mechanism to asynchronously validate data stage of ctrl out request

From: Bin Liu
Date: Thu Oct 18 2018 - 08:40:15 EST

Hi Laurent,

On Thu, Oct 18, 2018 at 02:42:29AM +0300, Laurent Pinchart wrote:
> Hi Bin,
> On Thursday, 11 October 2018 22:31:42 EEST Bin Liu wrote:
> > On Tue, Oct 09, 2018 at 10:48:57PM -0400, Paul Elder wrote:
> > > This patch series adds a mechanism to allow asynchronously validating
> > > the data stage of a control out request, and for stalling or suceeding
> > > the request accordingly. This mechanism is implemented for MUSB, and is
> > > used by UVC. At the same time, UVC packages the setup stage and data
> >
> > Why is this for MUSB only? Other UDC such as DWC3 doesn't need this?
> Unfortunately, the asynchronous control request data stage validation
> mechanism must be implemented by every UDC. This patch series only addresses
> MUSB as this is Paul's main test platform. Once the core patches get reviewed
> and the API accepted (possibly in a modified form), we plan to update the DWC2
> and DWC3.

Thanks for the explanation.