[PATCH] usb: chipidea: fix typo "binded" in comments

Hemanth Selam posted 1 patch 2 weeks, 4 days ago
drivers/usb/chipidea/otg_fsm.c | 2 +-
drivers/usb/chipidea/udc.c     | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH] usb: chipidea: fix typo "binded" in comments
Posted by Hemanth Selam 2 weeks, 4 days ago
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
Re: [PATCH] usb: chipidea: fix typo "binded" in comments
Posted by Peter Chen 2 weeks, 4 days ago
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