Re: [PATCH] dwc2: gadget: Fix in control write transfers

From: Minas Harutyunyan
Date: Mon Apr 03 2017 - 01:32:32 EST


Hi,

On 3/30/2017 2:42 PM, Felipe Balbi wrote:
>
> Hi,
>
> Minas Harutyunyan <Minas.Harutyunyan@xxxxxxxxxxxx> writes:
>> After data out stage gadget driver should not initate ZLP on control EP,
>> because it is up to function driver.
>
> not true always, depends on return value from ->setup(). Which problem
> did you have? Which gadget driver? How did you reproduce? Which other
> tests did you run on this patch?
>

This required for delayed status support. Tested with Synopsys test
gadget. As host used USB tracer traffic generator (different control
transfers scenarios). Also performed smoke tests with mass storage
function to detect any side effects.

Thanks,
Minas