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

Commit aa7842ed authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: ep0: complete the pending control request before soft-disconnect"

parents e544b875 c4774055
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -206,7 +206,7 @@ int dwc3_gadget_ep0_queue(struct usb_ep *ep, struct usb_request *request,
	u32				reg;

	spin_lock_irqsave(&dwc->lock, flags);
	if (!dep->endpoint.desc || !dwc->softconnect ||
	if (!dep->endpoint.desc || !dwc->pullups_connected ||
		!dwc->vbus_active) {
		dev_err(dwc->dev, "%s: can't queue to disabled endpoint\n",
				dep->name);