mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 20:33:58 -04:00
Merge "usb: dwc3: Set vbus_active in peripheral-only mode"
This commit is contained in:
commit
2367bea2ca
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue