summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.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/UsbUtility.c
parentd22867471fe5178a00a03d8dde0b0ab0d5a5fa5d (diff)
downloadedk2-13a623cf9c2d5945e586b46967134f8aad1483fc.tar.gz
edk2-13a623cf9c2d5945e586b46967134f8aad1483fc.tar.bz2
edk2-13a623cf9c2d5945e586b46967134f8aad1483fc.zip
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/UsbUtility.c')
-rw-r--r--MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c
index 8559992d27..7529e03e85 100644
--- a/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c
+++ b/MdeModulePkg/Bus/Usb/UsbBusDxe/UsbUtility.c
@@ -784,7 +784,7 @@ MatchUsbClass (
// If connect class policy, determine whether to create device handle by the five fields
// in class device path node.
//
- // In addtion, hub interface is always matched for this policy.
+ // In addition, hub interface is always matched for this policy.
//
if ((ActIfDesc->InterfaceClass == USB_HUB_CLASS_CODE) &&
(ActIfDesc->InterfaceSubClass == USB_HUB_SUBCLASS_CODE)) {
@@ -1018,7 +1018,7 @@ UsbBusAddWantedUsbIoDP (
} else {
//
// 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;
}
@@ -1034,7 +1034,7 @@ UsbBusAddWantedUsbIoDP (
Check whether a usb child device is the wanted device in a bus.
@param Bus The Usb bus's private data pointer.
- @param UsbIf The usb child device inferface.
+ @param UsbIf The usb child device interface.
@retval True If a usb child device is the wanted device in a bus.
@retval False If a usb child device is *NOT* the wanted device in a bus.
@@ -1136,7 +1136,7 @@ UsbBusIsWantedUsbIO (
}
/**
- Recursively connnect every wanted usb child device to ensure they all fully connected.
+ Recursively connect every wanted usb child device to ensure they all fully connected.
Check all the child Usb IO handles in this bus, recursively connecte if it is wanted usb child device.
@param UsbBusId Point to EFI_USB_BUS_PROTOCOL interface.