summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Bus
diff options
context:
space:
mode:
authorljin6 <ljin6@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-30 05:45:13 +0000
committerljin6 <ljin6@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-30 05:45:13 +0000
commitbd518502259f6ab7dba504fde834e1ac73b14dfd (patch)
tree8e9185d2a7dcd1e26f1f49b1773d85615040b4e6 /EdkModulePkg/Bus
parentd8be5b148b2af02569338471562c861367363533 (diff)
downloadedk2-platforms-bd518502259f6ab7dba504fde834e1ac73b14dfd.tar.xz
After identified as a High-Speed device, the port has been reset successfully, so it doesn't need to be reset again in the later for Full-Speed or Low-Speed devices.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1856 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Bus')
-rw-r--r--EdkModulePkg/Bus/Usb/UsbBus/Dxe/usbbus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/EdkModulePkg/Bus/Usb/UsbBus/Dxe/usbbus.c b/EdkModulePkg/Bus/Usb/UsbBus/Dxe/usbbus.c
index d9387a60b1..7bbb6f7a06 100644
--- a/EdkModulePkg/Bus/Usb/UsbBus/Dxe/usbbus.c
+++ b/EdkModulePkg/Bus/Usb/UsbBus/Dxe/usbbus.c
@@ -1001,7 +1001,9 @@ UsbDeviceConfiguration (
//
UsbIo = &FirstController->UsbIo;
- ParentPortReset (FirstController, FALSE, 0);
+ if (UsbIoDevice->DeviceSpeed != EFI_USB_SPEED_HIGH) {
+ ParentPortReset (FirstController, FALSE, 0);
+ }
//
// First retrieve the 1st 8 bytes of