X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FBus%2FUsb%2FUsbBusDxe%2FUsbBus.c;fp=MdeModulePkg%2FBus%2FUsb%2FUsbBusDxe%2FUsbBus.c;h=4b4915c019ad4e6cf6aca9bb94d36b0a78ad9f43;hp=d4002c48d74e1a7908e68cf0da000c422cb5e57a;hb=13a623cf9c2d5945e586b46967134f8aad1483fc;hpb=d22867471fe5178a00a03d8dde0b0ab0d5a5fa5d diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c index d4002c48d7..4b4915c019 100644 --- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c +++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c @@ -96,10 +96,10 @@ UsbIoControlTransfer ( UsbStatus ); // - // If the request completed sucessfully and the Direction of the request is + // If the request completed successfully and the Direction of the request is // EfiUsbDataIn or EfiUsbDataOut, then make sure the actual number of bytes - // transfered is the same as the number of bytes requested. If a different - // number of bytes were transfered, then return EFI_DEVICE_ERROR. + // transferred is the same as the number of bytes requested. If a different + // number of bytes were transferred, then return EFI_DEVICE_ERROR. // if (!EFI_ERROR (Status)) { if (Direction != EfiUsbNoData && DataLength != RequestedDataLength) { @@ -389,7 +389,7 @@ ON_EXIT: the request. @param PollInterval The interval to poll the transfer result, (in ms). @param DataLength The length of perodic data transfer. - @param Callback The function to call periodicaly when transfer is + @param Callback The function to call periodically when transfer is ready. @param Context The context to the callback. @@ -490,7 +490,7 @@ UsbIoIsochronousTransfer ( @param DeviceEndpoint The device endpoint. @param Data The data to transfer. @param DataLength The length of perodic data transfer. - @param IsochronousCallBack The function to call periodicaly when transfer is + @param IsochronousCallBack The function to call periodically when transfer is ready. @param Context The context to the callback. @@ -1355,7 +1355,7 @@ UsbBusControllerDriverStart ( if (IsDevicePathEnd (RemainingDevicePath)) { // // If RemainingDevicePath is the End of Device Path Node, - // skip enumerate any device and return EFI_SUCESSS + // skip enumerate any device and return EFI_SUCCESS // return EFI_SUCCESS; }