]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: dwc3: ep0: don't use ep0in for transfers
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Thu, 20 Oct 2011 17:04:16 +0000 (19:04 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:48:25 +0000 (11:48 +0200)
commitc2da2ff00606ae008f0e233bd29c3307d0c3ce85
treedae0f51cbc09d667eb7e477e52897cfeb401a62a
parent1e7618d8a1ad7aac6904c3a3915bf63f411344c2
usb: dwc3: ep0: don't use ep0in for transfers

In "usb: dwc3: remove special status request handling in ep0" I simplied
a few things and used the generic API for the status transfers. The bug
I introcuded here is that we queue now requests to dep[1] but we don't
clear that list in the stall+start case.
Actually we don't need to use dep[1] at all. We only did in the past to
talk to the correct endpoint (i.e. in or out). This is now take care of
in a diffent place within the ep0 code. So we could queue the in
transfers to dep[0] and don't use dep[1] at all.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/ep0.c