From 50fd296e2e7f47c0d57804c47d7a1c689c8e7672 Mon Sep 17 00:00:00 2001 From: sbwml <984419930@qq.com> Date: Mon, 10 Feb 2020 17:38:51 +0800 Subject: [PATCH] Revert "usb: dwc3: turn off VBUS when leaving host mode" This reverts commit 1da25d34b29b0640f83e0720ec2eb100c4d2c333. --- drivers/usb/dwc3/core.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index a6716e185491..3191825710af 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@ -916,9 +916,6 @@ static void dwc3_core_exit_mode(struct dwc3 *dwc) /* do nothing */ break; } - - /* de-assert DRVVBUS for HOST and OTG mode */ - dwc3_set_mode(dwc, DWC3_GCTL_PRTCAP_DEVICE); } /* XHCI reset, resets other CORE registers as well, re-init those */ -- 2.11.0