]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c
MdeModulePkg/UsbBus: Fix various typos
[mirror_edk2.git] / MdeModulePkg / Bus / Usb / UsbBusDxe / UsbBus.c
index d4002c48d74e1a7908e68cf0da000c422cb5e57a..4b4915c019ad4e6cf6aca9bb94d36b0a78ad9f43 100644 (file)
@@ -96,10 +96,10 @@ UsbIoControlTransfer (
              UsbStatus\r
              );\r
   //\r
-  // If the request completed sucessfully and the Direction of the request is\r
+  // If the request completed successfully and the Direction of the request is\r
   // EfiUsbDataIn or EfiUsbDataOut, then make sure the actual number of bytes\r
-  // transfered is the same as the number of bytes requested.  If a different\r
-  // number of bytes were transfered, then return EFI_DEVICE_ERROR.\r
+  // transferred is the same as the number of bytes requested.  If a different\r
+  // number of bytes were transferred, then return EFI_DEVICE_ERROR.\r
   //\r
   if (!EFI_ERROR (Status)) {\r
     if (Direction != EfiUsbNoData && DataLength != RequestedDataLength) {\r
@@ -389,7 +389,7 @@ ON_EXIT:
                                  the request.\r
   @param  PollInterval           The interval to poll the transfer result, (in ms).\r
   @param  DataLength             The length of perodic data transfer.\r
-  @param  Callback               The function to call periodicaly when transfer is\r
+  @param  Callback               The function to call periodically when transfer is\r
                                  ready.\r
   @param  Context                The context to the callback.\r
 \r
@@ -490,7 +490,7 @@ UsbIoIsochronousTransfer (
   @param  DeviceEndpoint         The device endpoint.\r
   @param  Data                   The data to transfer.\r
   @param  DataLength             The length of perodic data transfer.\r
-  @param  IsochronousCallBack    The function to call periodicaly when transfer is\r
+  @param  IsochronousCallBack    The function to call periodically when transfer is\r
                                  ready.\r
   @param  Context                The context to the callback.\r
 \r
@@ -1355,7 +1355,7 @@ UsbBusControllerDriverStart (
       if (IsDevicePathEnd (RemainingDevicePath)) {\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