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>
This commit is contained in:
Antoine Coeur
2020-02-07 02:07:34 +01:00
committed by mergify[bot]
parent d22867471f
commit 13a623cf9c
12 changed files with 27 additions and 27 deletions

View File

@@ -78,7 +78,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#define MAXBYTES 8
#pragma pack(1)
//
// Hub descriptor, the last two fields are of variable lenght.
// Hub descriptor, the last two fields are of variable length.
//
typedef struct {
UINT8 Length;

View File

@@ -1,5 +1,5 @@
/** @file
Common Libarary for PEI USB
Common Library for PEI USB
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved. <BR>

View File

@@ -1,5 +1,5 @@
/** @file
Common Libarary for PEI USB
Common Library for PEI USB
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved. <BR>

View File

@@ -131,7 +131,7 @@ PeiUsbControlTransfer (
@param DeviceEndpoint Endpoint number and its direction in bit 7.
@param Data A pointer to the buffer of data to transmit
from or receive into.
@param DataLength The lenght of the data buffer.
@param DataLength The length of the data buffer.
@param Timeout Indicates the maximum time, in millisecond, which the
transfer is allowed to complete. If Timeout is 0, then
the caller must wait for the function to be completed

View File

@@ -154,7 +154,7 @@ PeiUsbControlTransfer (
@param DeviceEndpoint Endpoint number and its direction in bit 7.
@param Data A pointer to the buffer of data to transmit
from or receive into.
@param DataLength The lenght of the data buffer.
@param DataLength The length of the data buffer.
@param Timeout Indicates the maximum time, in millisecond, which the
transfer is allowed to complete. If Timeout is 0, then
the caller must wait for the function to be completed