From: Felipe Balbi Date: Thu, 29 Dec 2011 04:32:29 +0000 (+0200) Subject: usb: dwc3: ep0: tidy up Pending Request handling X-Git-Tag: v3.2.3~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=119fd91db5443904cddd1a6edbfe75f382ff25f5;p=pandora-kernel.git usb: dwc3: ep0: tidy up Pending Request handling commit 68d8a781575d7be490f97eb2c403fb13b083da6a upstream. 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. Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed