OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8f54298
)
Revert "usb: dwc3: turn off VBUS when leaving host mode"
10
author
sbwml
<984419930@qq.com>
Mon, 10 Feb 2020 09:38:51 +0000
(17:38 +0800)
committer
0ranko0P
<ranko0p@outlook.com>
Tue, 18 Feb 2020 13:11:33 +0000
(21:11 +0800)
This reverts commit
1da25d34b29b0640f83e0720ec2eb100c4d2c333
.
drivers/usb/dwc3/core.c
patch
|
blob
|
history
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 */