summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c
diff options
context:
space:
mode:
authorAntoine Coeur <coeur@gmx.fr>2020-02-07 02:07:34 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-02-10 22:30:07 +0000
commit13a623cf9c2d5945e586b46967134f8aad1483fc (patch)
treea634ad8835da90654e5e7f638f825916ec2b2dde /MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c
parentd22867471fe5178a00a03d8dde0b0ab0d5a5fa5d (diff)
downloadedk2-13a623cf9c2d5945e586b46967134f8aad1483fc.tar.gz
MdeModulePkg/UsbBus: Fix various typos
Fix various typos in comments and documentation. Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Cc: Ray Ni <ray.ni@intel.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Acked-by: Liming Gao <liming.gao@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-22-philmd@redhat.com>
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c')
-rw-r--r--MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c12
1 files changed, 6 insertions, 6 deletions
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;
}