usb: dwc3: ep0: tidy up Pending Request handling
authorFelipe Balbi <balbi@ti.com>
Thu, 29 Dec 2011 04:32:29 +0000 (06:32 +0200)
committerFelipe Balbi <balbi@ti.com>
Tue, 24 Jan 2012 13:41:22 +0000 (15:41 +0200)
The way our code was written, we should never have
a DWC3_EP_PENDING_REQUEST flag set out of a Data Phase
and the code in __dwc3_gadget_ep0_queue() did not
reflect that situation properly.

Tidy up that case to avoid any possible mistakes
when starting requests for IRQs which are long
gone.

Cc: stable@vger.kernel.org
Signed-off-by: Felipe Balbi <balbi@ti.com>

No differences found