]> git.openfabrics.org - ~emulex/infiniband.git/commit
usb: dwc3: gadget: fixing dequeue of TRBs
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 19 Aug 2011 17:59:12 +0000 (19:59 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:01:54 +0000 (13:01 +0300)
commit0d2f4758530d1598087d1d2f3e75b4f7d17fc6c7
tree28fd0bb2e8574f61ae84be00b8d338faf5815610
parent55a46269ccedec140e2487a2344e8a247d48b385
usb: dwc3: gadget: fixing dequeue of TRBs

A TRB which is dequeued seems to have its HWO bits set to 1. Therefore
we ignore it if we dequeue it after the command is completed.

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