mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] usb: chipidea: fix typo "binded" in comments
@ 2026-09-07  6:16 Hemanth Selam
  2026-09-07  9:12 ` Peter Chen
  0 siblings, 1 reply; 2+ messages in thread
From: Hemanth Selam @ 2026-09-07  6:16 UTC (permalink / raw)
  To: Peter Chen, Greg Kroah-Hartman; +Cc: linux-usb, linux-kernel

Correct "binded" to "bound", 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 <hemanth.selam@gmail.com>
---
 drivers/usb/chipidea/otg_fsm.c | 2 +-
 drivers/usb/chipidea/udc.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/chipidea/otg_fsm.c b/drivers/usb/chipidea/otg_fsm.c
index 929536dc96ec..642729893cc2 100644
--- a/drivers/usb/chipidea/otg_fsm.c
+++ b/drivers/usb/chipidea/otg_fsm.c
@@ -705,7 +705,7 @@ static void ci_otg_fsm_event(struct ci_hdrc *ci)
 		if ((intr_sts & USBi_PCI) && !port_conn) {
 			fsm->b_conn = 0;
 
-			/* if gadget driver is binded */
+			/* if gadget driver is bound */
 			if (ci->driver) {
 				/* A device to be peripheral mode */
 				ci->gadget.is_a_peripheral = 1;
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
index d52f89489893..c29b2d0dcc7c 100644
--- a/drivers/usb/chipidea/udc.c
+++ b/drivers/usb/chipidea/udc.c
@@ -1862,7 +1862,7 @@ static int ci_udc_get_frame(struct usb_gadget *_gadget)
 }
 
 /*
- * ci_hdrc_gadget_connect: caller makes sure gadget driver is binded
+ * ci_hdrc_gadget_connect: caller makes sure gadget driver is bound
  */
 static void ci_hdrc_gadget_connect(struct usb_gadget *_gadget, int is_active)
 {
-- 
2.48.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] usb: chipidea: fix typo "binded" in comments
  2026-09-07  6:16 [PATCH] usb: chipidea: fix typo "binded" in comments Hemanth Selam
@ 2026-09-07  9:12 ` Peter Chen
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Chen @ 2026-09-07  9:12 UTC (permalink / raw)
  To: Hemanth Selam; +Cc: Greg Kroah-Hartman, linux-usb, linux-kernel

On 26-09-07 11:46:52, Hemanth Selam wrote:
> Correct "binded" to "bound", 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 <hemanth.selam@gmail.com>

Acked-by: Peter Chen <peter.chen@kernel.org>

Peter
> ---
>  drivers/usb/chipidea/otg_fsm.c | 2 +-
>  drivers/usb/chipidea/udc.c     | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/usb/chipidea/otg_fsm.c b/drivers/usb/chipidea/otg_fsm.c
> index 929536dc96ec..642729893cc2 100644
> --- a/drivers/usb/chipidea/otg_fsm.c
> +++ b/drivers/usb/chipidea/otg_fsm.c
> @@ -705,7 +705,7 @@ static void ci_otg_fsm_event(struct ci_hdrc *ci)
>  		if ((intr_sts & USBi_PCI) && !port_conn) {
>  			fsm->b_conn = 0;
>  
> -			/* if gadget driver is binded */
> +			/* if gadget driver is bound */
>  			if (ci->driver) {
>  				/* A device to be peripheral mode */
>  				ci->gadget.is_a_peripheral = 1;
> diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c
> index d52f89489893..c29b2d0dcc7c 100644
> --- a/drivers/usb/chipidea/udc.c
> +++ b/drivers/usb/chipidea/udc.c
> @@ -1862,7 +1862,7 @@ static int ci_udc_get_frame(struct usb_gadget *_gadget)
>  }
>  
>  /*
> - * ci_hdrc_gadget_connect: caller makes sure gadget driver is binded
> + * ci_hdrc_gadget_connect: caller makes sure gadget driver is bound
>   */
>  static void ci_hdrc_gadget_connect(struct usb_gadget *_gadget, int is_active)
>  {
> -- 
> 2.48.1
> 

-- 

Thanks,
Peter Chen

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-07  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07  6:16 [PATCH] usb: chipidea: fix typo "binded" in comments Hemanth Selam
2026-09-07  9:12 ` Peter Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®