Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0156cf86 authored by Sebastian Andrzej Siewior's avatar Sebastian Andrzej Siewior Committed by Felipe Balbi
Browse files

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: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 5a18999e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1423,7 +1423,7 @@ static void dwc3_process_ep_cmd_complete(struct dwc3_ep *dep,
			req = next_request(&dep->req_queued);
			req = next_request(&dep->req_queued);
			dwc3_gadget_giveback(dep, req, -ESHUTDOWN);
			dwc3_gadget_giveback(dep, req, -ESHUTDOWN);
		}
		}
		dep->flags &= DWC3_EP_WILL_SHUTDOWN;
		dep->flags &= ~DWC3_EP_WILL_SHUTDOWN;
	}
	}
}
}