diff options
author | Feng Tian <feng.tian@intel.com> | 2016-07-06 10:01:30 +0800 |
---|---|---|
committer | Feng Tian <feng.tian@intel.com> | 2016-07-25 09:34:31 +0800 |
commit | 698554923f055daf560d4954d0cc735d3df30430 (patch) | |
tree | 6f888a8bef8f5ca20de59490fb4f7d5dd2cdc5b8 /MdeModulePkg | |
parent | 40bc7509142af30d8befd198afbdeeaa58964234 (diff) | |
download | edk2-platforms-698554923f055daf560d4954d0cc735d3df30430.tar.xz |
MdeModulePkg/UsbBus: remove redundant host controller reset in UsbBus
The Host Controller reset has been done at EDKII UHCI/EHCI/XHCI, The
original code will do twice host controller initialization which is
unnecessary. It also bring issues on some USB HCs.
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg')
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c index ef002f53bb..78220222f6 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c @@ -2,7 +2,7 @@ Usb Bus Driver Binding and Bus IO Protocol.
-Copyright (c) 2004 - 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -976,9 +976,6 @@ UsbBusBuildProtocol ( }
}
- UsbHcReset (UsbBus, EFI_USB_HC_RESET_GLOBAL);
- UsbHcSetState (UsbBus, EfiUsbHcStateOperational);
-
//
// Install an EFI_USB_BUS_PROTOCOL to host controller to identify it.
//
|