usb: dwc3: reset pending status flag in error case
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Tue, 18 Oct 2011 17:13:28 +0000 (19:13 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Dec 2011 09:48:20 +0000 (11:48 +0200)
commit0cc7a519c424c8f07d5ef5e3928b7a07446c5303
tree6d54ca84764cc785355e085993a13803ebdd1b87
parentbd178f2d62e8e2feb6b544c08d7d1dd92254201d
usb: dwc3: reset pending status flag in error case

If we stall and restart we have to reset also this flag to 0 as there is
nothing pending anymore.

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