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

Laurent Pinchart
2018-10-17T23:42:24Z

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.

--
Regards,

Laurent Pinchart