Re: [PATCH 1/4] usb: dwc3: gadget: clear DWC3_EP_TRANSFER_STARTED on cmd complete

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thinh Nguyen <thinh.nguyen@xxxxxxxxxxxx> writes:

<snip>

>> Note that start transfer came before End Transfer completion.
>>
>> /me goes look furter
>>
>> I can see what's going on. The problem here is that we issue a Start
>> Transfer to all bulk endpoints when they are enabled. Upon ep_disable,
>> we issue End Transfer. Because you're switching interfaces all the time,
>> then you exposed the race between ep_disable followed by ep_enable and
>> End Transfer completion.
>>
>> Would it be enough to just skip the completion interrupt from
>> ep_disable?
>>
>>
>
> Your patch resolves this issue. Can you create a formal patch for this?

will do, thanks

-- 
balbi

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux