usb: chipidea: fix typo "binded" in comments
Subsystems (2)
PATCH 1/1 usb: chipidea: fix typo "binded" in comments
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 <[email protected]>
--- drivers/usb/chipidea/otg_fsm.c | 2 +- drivers/usb/chipidea/udc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/usb/chipidea/otg_fsm.c +1 -1
@@ -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 ;
drivers/usb/chipidea/udc.c +1 -1
@@ -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) {
Signature · 1 line
2.48.1
Quoted 6 lines · Hemanth Selam
Correct "binded" to "bound", reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Acked-by Peter Chen <[email protected]>
Peter
Quoted 34 lines
--- drivers/usb/chipidea/otg_fsm.c | 2 +- drivers/usb/chipidea/udc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/usb/chipidea/otg_fsm.c +1
-1@@ -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 ;drivers/usb/chipidea/udc.c +1
-1@@ -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) {Signature · 1 line
2.48.1
Signature · 2 lines
Thanks, Peter Chen