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

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

Merge "dwc3: gadget: Resume USB bus unconditionally for USB super speed and above"

parents f48bee06 c7eaee00
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2105,7 +2105,7 @@ static int dwc3_gadget_wakeup(struct usb_gadget *g)
	unsigned long	flags;

	spin_lock_irqsave(&dwc->lock, flags);
	if (!dwc->is_remote_wakeup_enabled) {
	if (g->speed < USB_SPEED_SUPER && !dwc->is_remote_wakeup_enabled) {
		spin_unlock_irqrestore(&dwc->lock, flags);
		dbg_log_string("remote wakeup not supported\n");
		return -EINVAL;