usb: dwc2: fix typos in comments
Subsystems (2)
PATCH 1/1 usb: dwc2: fix typos in comments
Fix typos in comments, reported by scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
Assisted-by Cursor:claude-opus-5
Signed-off-by Hemanth Selam <[email protected]>
--- drivers/usb/dwc2/core.c | 2 +- drivers/usb/dwc2/core.h | 2 +- drivers/usb/dwc2/gadget.c | 6 +++--- drivers/usb/dwc2/hcd.c | 4 ++-- drivers/usb/dwc2/hcd_ddma.c | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-)
drivers/usb/dwc2/core.c +1 -1
@@ -173,7 +173,7 @@ static void dwc2_restore_essential_regs(struct dwc2_hsotg *hsotg, int rmode,/* Umnask global Interrupt in GAHBCFG and restore it */ dwc2_writel (hsotg, gr->gahbcfg |GAHBCFG_GLBL_INTR_EN ,GAHBCFG ); -/* Clear all pending interupts */ +/* Clear all pending interrupts */ dwc2_writel (hsotg,0xffffffff ,GINTSTS );/* Unmask restore done interrupt */
drivers/usb/dwc2/core.h +1 -1
@@ -334,7 +334,7 @@ enum dwc2_ep0_state {* (default when phy_type is Full Speed) * @oc_disable: Flag to disable overcurrent condition. * 0 - Allow overcurrent condition to get detected -* 1 - Disable overcurrent condtion to get detected +* 1 - Disable overcurrent condition to get detected * @ts_dline: Enable Term Select Dline pulsing * 0 - No (default) * 1 - Yes
drivers/usb/dwc2/gadget.c +3 -3
@@ -658,7 +658,7 @@ static int dwc2_hsotg_write_fifo(struct dwc2_hsotg *hsotg, }/** -* get_ep_limit - get the maximum data legnth for this endpoint +* get_ep_limit - get the maximum data length for this endpoint * @hs_ep: The endpoint * * Return the maximum data that can be queued in one go on a given endpoint
@@ -5501,7 +5501,7 @@ int dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg,dwc2_hib_restore_common (hsotg, rem_wakeup,0 );if (!reset) { -/* Clear all pending interupts */ +/* Clear all pending interrupts */ dwc2_writel (hsotg,0xffffffff ,GINTSTS ); }
@@ -5550,7 +5550,7 @@ int dwc2_gadget_exit_hibernation(struct dwc2_hsotg *hsotg, }/* Wait for interrupts which must be cleared */ mdelay (2 ); -/* Clear all pending interupts */ +/* Clear all pending interrupts */ dwc2_writel (hsotg,0xffffffff ,GINTSTS );/* Restore global registers */
drivers/usb/dwc2/hcd.c +2 -2
@@ -5656,7 +5656,7 @@ int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup,*/ mdelay (100 ); -/* Clear all pending interupts */ +/* Clear all pending interrupts */ dwc2_writel (hsotg,0xffffffff ,GINTSTS );/* De-assert Restore */
@@ -5726,7 +5726,7 @@ int dwc2_host_exit_hibernation(struct dwc2_hsotg *hsotg, int rem_wakeup, hprt0 =dwc2_readl (hsotg,HPRT0 ); -/* Clear all pending interupts */ +/* Clear all pending interrupts */ dwc2_writel (hsotg,0xffffffff ,GINTSTS );/* Restore global registers */
drivers/usb/dwc2/hcd_ddma.c +1 -1
@@ -963,7 +963,7 @@ static void dwc2_complete_isoc_xfer_ddma(struct dwc2_hsotg *hsotg,* whether some of the descriptors (frames) succeeded or not. * Pass error code to completion routine as well, to update * urb->status, some of class drivers might use it to stop -* queing transfer requests. +* queuing transfer requests. */ int err = halt_status ==DWC2_HC_XFER_AHB_ERR ? -EIO : -EOVERFLOW ;
Signature · 1 line
2.48.1