From 698554923f055daf560d4954d0cc735d3df30430 Mon Sep 17 00:00:00 2001 From: Feng Tian Date: Wed, 6 Jul 2016 10:01:30 +0800 Subject: 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 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Feng Tian Reviewed-by: Star Zeng --- MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'MdeModulePkg') 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.
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.
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. // -- cgit v1.2.3