summaryrefslogtreecommitdiffstats
path: root/drivers/amba
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2011-12-08 12:56:27 +0100
committerFelipe Balbi <balbi@ti.com>2011-12-12 10:48:47 +0100
commit68d3e668d245bb8300c7c6ddbc8508ddfe352e0f (patch)
tree544c200d4c45a2755cad9e711aac70a9bfa1d4a2 /drivers/amba
parentusb: dwc3: gadget: fix stream enable bit (diff)
downloadlinux-68d3e668d245bb8300c7c6ddbc8508ddfe352e0f.tar.xz
linux-68d3e668d245bb8300c7c6ddbc8508ddfe352e0f.zip
usb: dwc3: ep0: fix for possible early delayed_status
There is a very small possibility (previously unimagined by us) that the whole Mass Storage delayed status happens rather early, before we even get our XferNotReady event. In that case, we will be queueing a request to ep0 while we're still on Setup Phase and we would be waiting for another usb_ep_queue() forever. Handle such cases by clearing dwc->delayed_status so that we start control status from the next XferNotReady like there was no wait for Delayed Status. Tested against Linux 3.2-rc3 and USB30CV tool from USB-IF (on a Windows XP with USB3 PCIe card). Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/amba')
0 files changed, 0 insertions, 0 deletions