[PATCH v2 03/22] usb: chipidea: fix a few spelling mistakes in comments

From: Shunbo Shi

Date: Tue Nov 10 2026 - 03:00:50 EST


No functional changes.

Signed-off-by: Shunbo Shi <shishunbo@xxxxxxxxxxxxxxxxxxxx>
---
drivers/usb/chipidea/core.c | 2 +-
drivers/usb/chipidea/udc.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/usb/chipidea/core.c b/drivers/usb/chipidea/core.c
index 3461dd763a6e..e41ced53ac0c 100644
--- a/drivers/usb/chipidea/core.c
+++ b/drivers/usb/chipidea/core.c
@@ -642,7 +642,7 @@ static enum ci_role ci_get_role(struct ci_hdrc *ci)
} else {
/*
* If the controller is not OTG capable, but support
- * role switch, the defalt role is gadget, and the
+ * role switch, the default role is gadget, and the
* user can switch it through debugfs.
*/
role = CI_ROLE_GADGET;
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index c29b2d0dcc7c..827428aedba0 100644
--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -208,7 +208,7 @@ static int hw_ep_prime(struct ci_hdrc *ci, int num, int dir, int is_ctrl)
if (is_ctrl && dir == RX && hw_read(ci, OP_ENDPTSETUPSTAT, BIT(num)))
return -EAGAIN;

- /* status shoult be tested according with manual but it doesn't work */
+ /* status should be tested according with manual but it doesn't work */
return 0;
}

@@ -271,7 +271,7 @@ static int hw_test_and_clear_complete(struct ci_hdrc *ci, int n)
* without interruption)
* @ci: the controller
*
- * This function returns active interrutps
+ * This function returns active interrupts
*/
static u32 hw_test_and_clear_intr_active(struct ci_hdrc *ci)
{
@@ -1242,7 +1242,7 @@ isr_setup_status_complete(struct usb_ep *ep, struct usb_request *req)
}

/**
- * isr_setup_status_phase: queues the status phase of a setup transation
+ * isr_setup_status_phase: queues the status phase of a setup transaction
* @ci: ci struct
*
* This function returns an error code
--
2.53.0