usb: dwc3: Correct some typos in comments
Subsystems (2)
PATCH v2 1/1 usb: dwc3: Correct some typos in comments
Fixed some confusing typos that were currently identified with codespell, the details are as follows:
-in the code comments:drivers/usb/dwc3/core.c:1406: feild ==> field drivers/usb/dwc3/core.h:84: boundries ==> boundaries drivers/usb/dwc3/ep0.c:148: issueing ==> issuing drivers/usb/dwc3/host.c:38: temperary ==> temporarily
Also fixed a syntax problem in the comments.
Signed-off-by Shen Lichuan <[email protected]>
---
v2: Corrected the grammatical errors in the commented sentence.
v1: https://lore.kernel.org/all/[email protected]/
drivers/usb/dwc3/core.c | 2 +- drivers/usb/dwc3/core.h | 2 +- drivers/usb/dwc3/ep0.c | 2 +- drivers/usb/dwc3/host.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
drivers/usb/dwc3/core.c +1 -1
@@ -1403,7 +1403,7 @@ static int dwc3_core_init(struct dwc3 *dwc)/* * When configured in HOST mode, after issuing U3/L2 exit controller -* fails to send proper CRC checksum in CRC5 feild. Because of this +* fails to send proper CRC checksum in CRC5 field. Because of this * behaviour Transaction Error is generated, resulting in reset and * re-enumeration of usb device attached. All the termsel, xcvrsel, * opmode becomes 0 during end of resume. Enabling bit 10 of GUCTL1
drivers/usb/dwc3/core.h +1 -1
@@ -81,7 +81,7 @@#define DWC3_GSNPSREV_MASK 0xffff#define DWC3_GSNPS_ID (p) (((p) & DWC3_GSNPSID_MASK) >> 16) -/* DWC3 registers memory space boundries */ +/* DWC3 registers memory space boundaries */ #define DWC3_XHCI_REGS_START 0x0#define DWC3_XHCI_REGS_END 0x7fff#define DWC3_GLOBALS_REGS_START 0xc100
drivers/usb/dwc3/ep0.c +1 -1
@@ -145,7 +145,7 @@ static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep,* Unfortunately we have uncovered a limitation wrt the Data Phase. * * Section 9.4 says we can wait for the XferNotReady(DATA) event to -* come before issueing Start Transfer command, but if we do, we will +* come before issuing Start Transfer command, but if we do, we will * miss situations where the host starts another SETUP phase instead of * the DATA phase. Such cases happen at least on TD.7.6 of the Link * Layer Compliance Suite.
drivers/usb/dwc3/host.c +1 -1
@@ -35,7 +35,7 @@ static void dwc3_power_off_all_roothub_ports(struct dwc3 *dwc)u32 reg;int i; -/* xhci regs is not mapped yet, do it temperary here */ +/* xhci regs are not mapped yet, do it temporarily here */ if (dwc->xhci_resources[0 ].start) { xhci_regs =ioremap (dwc->xhci_resources[0 ].start,DWC3_XHCI_REGS_END );if (!xhci_regs) {
Signature · 1 line
2.17.1