summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2011-08-22 18:29:13 +0200
committerFelipe Balbi <balbi@ti.com>2011-09-09 13:01:57 +0300
commit0156cf8603b86c949d02aa315684b4c677e66638 (patch)
tree01a5e8757ce01dab9081a7398f14a3d53ddfa145 /drivers/usb/dwc3
parent5a18999ebd880f6fc4264aa5687daad4c4013bce (diff)
usb: dwc3: gaget: clear DWC3_EP_WILL_SHUTDOWN bit
Without this patch we won't clear that bit and instead will clear all other bits on our endpoint flag. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/gadget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index ebe6bbcfeb67..2ee6714bda4b 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -1423,7 +1423,7 @@ static void dwc3_process_ep_cmd_complete(struct dwc3_ep *dep,
req = next_request(&dep->req_queued);
dwc3_gadget_giveback(dep, req, -ESHUTDOWN);
}
- dep->flags &= DWC3_EP_WILL_SHUTDOWN;
+ dep->flags &= ~DWC3_EP_WILL_SHUTDOWN;
}
}