RE: [PATCH] usb: dwc3: Reset the transfer resource index on SET_INTERFACE

2015-07-22 Thread Subbaraya Sundeep Bhatta
nel.org; John Youn; > Felipe Balbi > Subject: [PATCH] usb: dwc3: Reset the transfer resource index on > SET_INTERFACE > > From: John Youn > > This fixes an issue introduced in commit b23c843992b6 (usb: dwc3: > gadget: fix DEPSTARTCFG for non-EP0 EPs) that made sure we would

Re: [PATCH] usb: dwc3: Reset the transfer resource index on SET_INTERFACE

2015-07-22 Thread Huang Rui
On Tue, Jul 21, 2015 at 09:29:17AM -0500, Felipe Balbi wrote: > From: John Youn > > This fixes an issue introduced in commit b23c843992b6 (usb: dwc3: > gadget: fix DEPSTARTCFG for non-EP0 EPs) that made sure we would > only use DEPSTARTCFG once per SetConfig. > > The trick is that we should use

[PATCH] usb: dwc3: Reset the transfer resource index on SET_INTERFACE

2015-07-21 Thread Felipe Balbi
From: John Youn This fixes an issue introduced in commit b23c843992b6 (usb: dwc3: gadget: fix DEPSTARTCFG for non-EP0 EPs) that made sure we would only use DEPSTARTCFG once per SetConfig. The trick is that we should use one DEPSTARTCFG per SetConfig *OR* SetInterface. SetInterface was completely

[PATCH] usb: dwc3: Reset the transfer resource index on SET_INTERFACE

2015-07-21 Thread Felipe Balbi
From: John Youn This fixes an issue introduced in commit b23c843992b6 (usb: dwc3: gadget: fix DEPSTARTCFG for non-EP0 EPs) that made sure we would only use DEPSTARTCFG once per SetConfig. The trick is that we should use one DEPSTARTCFG per SetConfig *OR* SetInterface. SetInterface was completely

RE: [PATCH] usb: dwc3: Reset the transfer resource index on SET_INTERFACE

2015-07-20 Thread Subbaraya Sundeep Bhatta
Hi, > -Original Message- > From: John Youn [mailto:john.y...@synopsys.com] > Sent: Monday, September 17, 2001 12:30 PM > To: ba...@ti.com; Subbaraya Sundeep Bhatta > Cc: linux-usb@vger.kernel.org > Subject: [PATCH] usb: dwc3: Reset the transfer resource index on > SE

[PATCH] usb: dwc3: Reset the transfer resource index on SET_INTERFACE

2015-07-20 Thread John Youn
This fixes an issue introduced in a previous patch that added checking of the return status of device endpoint commands. It caught the Set Endpoint Transfer Resource command failing occasionally. This is because the Transfer Resource Index was not getting reset during a SET_INTERFACE request. Sign