• R/O
  • HTTP
  • SSH
  • HTTPS

kernel_xiaomi_msm8998: 提交

Mirror: https://github.com/0ranko0P/kernel_xiaomi_msm8998/


Commit MetaInfo

修订版50fd296e2e7f47c0d57804c47d7a1c689c8e7672 (tree)
时间2020-02-18 22:11:33
作者sbwml <984419930@qq.c...>
Commiter0ranko0P

Log Message

Revert "usb: dwc3: turn off VBUS when leaving host mode"

This reverts commit 1da25d34b29b0640f83e0720ec2eb100c4d2c333.

更改概述

差异

--- 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)
916916 /* do nothing */
917917 break;
918918 }
919-
920- /* de-assert DRVVBUS for HOST and OTG mode */
921- dwc3_set_mode(dwc, DWC3_GCTL_PRTCAP_DEVICE);
922919 }
923920
924921 /* XHCI reset, resets other CORE registers as well, re-init those */
Show on old repository browser