OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "usb: dwc3: turn off VBUS when leaving host mode"
[sagit-ice-cold/kernel_xiaomi_msm8998.git]
/
drivers
/
usb
/
dwc3
/
core.c
diff --git
a/drivers/usb/dwc3/core.c
b/drivers/usb/dwc3/core.c
index
a6716e1
..
3191825
100644
(file)
--- 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 */