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

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

Merge "usb: dwc3: Set vbus_active in peripheral-only mode"

parents dc5e84ea 66eae476
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1209,6 +1209,8 @@ static int __maybe_unused dwc3_core_init_mode(struct dwc3 *dwc)
				dev_err(dev, "failed to initialize gadget\n");
			return ret;
		}

		dwc->vbus_active = true;
		break;
	case USB_DR_MODE_HOST:
		dwc3_set_prtcap(dwc, DWC3_GCTL_PRTCAP_HOST);