summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSherry Fan <sherryfan@microsoft.com>2025-08-08 11:00:38 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-08-11 18:15:25 +0000
commit8d984e6a5742220d2b28bd85121000136d820fcb (patch)
tree758c8acbafaff44546634c2cd2a6ff84c5f731bb
parent6d37ca427eac6b60be27ef8fc266a3157f23b040 (diff)
downloadedk2-8d984e6a5742220d2b28bd85121000136d820fcb.tar.gz
edk2-8d984e6a5742220d2b28bd85121000136d820fcb.zip
MdeModulePkg: XhciDxe: Fix comment grammar in XhcMonitorAsyncRequests
Clarify wording of the comment before the callback in XhcMonitorAsyncRequests. Signed-off-by: Sherry Fan <sherryfan@microsoft.com>
-rw-r--r--MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c
index af1b6d4371..52551a3709 100644
--- a/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c
+++ b/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c
@@ -1742,8 +1742,8 @@ XhcMonitorAsyncRequests (
//
if (Urb->Callback != NULL) {
//
- // Restore the old TPL, USB bus maybe connect device in
- // his callback. Some drivers may has a lower TPL restriction.
+ // Restore the previous TPL. The USB bus may connect a device in its callback,
+ // and some drivers require a lower TPL to run correctly.
//
gBS->RestoreTPL (OldTpl);
(Urb->Callback)(ProcBuf, cbCompleted, cbContext, cbResult);