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

Commit f7a539bd authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "USB: ci13xxx: Don't fail ep_dequeue in suspend if USB not in LPM"

parents 6cdd8f1f e5d22765
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -3247,13 +3247,6 @@ static int ep_dequeue(struct usb_ep *ep, struct usb_request *req)
				__func__);
		return -EAGAIN;
	}

	if (udc->suspended) {
		dev_err(udc->transceiver->dev,
			"%s: Unable to dequeue while suspended\n", __func__);
		return -EAGAIN;
	}

	spin_lock_irqsave(mEp->lock, flags);
	/*
	 * Only ep0 IN is exposed to composite.  When a req is dequeued