]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c
MdeModulePkg/UsbBus: Fix various typos
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbBusDxe / UsbUtility.c
index 8559992d27430335f6c23551be3457254d65a0aa..7529e03e853c1115078c968adc2c1103975fa9d8 100644 (file)
@@ -784,7 +784,7 @@ MatchUsbClass (
   // If connect class policy, determine whether to create device handle by the five fields\r
   // in class device path node.\r
   //\r
-  // In addtion, hub interface is always matched for this policy.\r
+  // In addition, hub interface is always matched for this policy.\r
   //\r
   if ((ActIfDesc->InterfaceClass == USB_HUB_CLASS_CODE) &&\r
       (ActIfDesc->InterfaceSubClass == USB_HUB_SUBCLASS_CODE)) {\r
@@ -1018,7 +1018,7 @@ UsbBusAddWantedUsbIoDP (
   } else {\r
     //\r
     // If RemainingDevicePath is the End of Device Path Node,\r
-    // skip enumerate any device and return EFI_SUCESSS\r
+    // skip enumerate any device and return EFI_SUCCESS\r
     //\r
     return EFI_SUCCESS;\r
   }\r
@@ -1034,7 +1034,7 @@ UsbBusAddWantedUsbIoDP (
   Check whether a usb child device is the wanted device in a bus.\r
 \r
   @param  Bus     The Usb bus's private data pointer.\r
-  @param  UsbIf   The usb child device inferface.\r
+  @param  UsbIf   The usb child device interface.\r
 \r
   @retval True    If a usb child device is the wanted device in a bus.\r
   @retval False   If a usb child device is *NOT* the wanted device in a bus.\r
@@ -1136,7 +1136,7 @@ UsbBusIsWantedUsbIO (
 }\r
 \r
 /**\r
-  Recursively connnect every wanted usb child device to ensure they all fully connected.\r
+  Recursively connect every wanted usb child device to ensure they all fully connected.\r
   Check all the child Usb IO handles in this bus, recursively connecte if it is wanted usb child device.\r
 \r
   @param  UsbBusId                  Point to EFI_USB_BUS_PROTOCOL interface.\r