Skip to contentSkip to conversation

usb: dwc3: gadget: Fix excepts/expects typo

PATCH In review Marek Vasut 4 participants 4 messages Mar 24, 2025 – Apr 10, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: dwc3: gadget: Fix excepts/expects typo

Fix the excepts typo to expects , no functional change.

Fixes 0916053ebc56 ("usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool")

---
Cc: Alexander Sverdlin <[email protected]>
Cc: Felipe Balbi <[email protected]>
Cc: Mattijs Korpershoek <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Thinh Nguyen <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]

---
 drivers/usb/dwc3/gadget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/dwc3/gadget.c +1 -1
index 477ecd02098..2b01113d54c 100644
@@ -1635,7 +1635,7 @@ usb_ep *dwc3_gadget_match_ep(struct usb_gadget *gadget,
 		/*
 		 * Special workaround for NXP UUU tool in SPL.
 		 *
-		 * The tool excepts the interrupt-in endpoint to be ep1in,
+		 * The tool expects the interrupt-in endpoint to be ep1in,
 		 * otherwise it crashes. This is a result of the previous
 		 * hard-coded EP setup in drivers/usb/gadget/epautoconf.c
 		 * which did special-case EP allocation for SPL builds,
Signature · 1 line
2.47.2
Reviewed-by on v1 1/1
#1 lore raw

Hi Marek,

Thank you for the patch.

Quoted 12 lines · Marek Vasut

Fix the excepts typo to expects , no functional change.

Fixes 0916053ebc56 ("usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool")

---
Cc: Alexander Sverdlin <[email protected]>
Cc: Felipe Balbi <[email protected]>
Cc: Mattijs Korpershoek <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Thinh Nguyen <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]

Quoted 3 lines
---
 drivers/usb/dwc3/gadget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 1 line

[...]

Quoted 2 lines
Signature · 1 line
2.47.2
Reviewed-by on v1 1/1
#2 lore raw
In reply to Marek Vasut
Quoted 21 lines · Marek Vasut

Fix the excepts typo to expects , no functional change.

Fixes 0916053ebc56 ("usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool")

---
Cc: Alexander Sverdlin <[email protected]>
Cc: Felipe Balbi <[email protected]>
Cc: Mattijs Korpershoek <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Thinh Nguyen <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: [email protected]

---
  drivers/usb/dwc3/gadget.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/dwc3/gadget.c +0 -0
index 477ecd02098..2b01113d54c 100644

drivers/usb/dwc3/gadget.c usb_ep *dwc3_gadget_match_ep(struct usb_gadget *gadget, · line 1641

Quoted 8 lines
drivers/usb/dwc3/gadget.c +1 -1
@@ -1635,7 +1635,7 @@ usb_ep *dwc3_gadget_match_ep(struct usb_gadget *gadget,
  		/*
  		 * Special workaround for NXP UUU tool in SPL.
  		 *
-		 * The tool excepts the interrupt-in endpoint to be ep1in,
+		 * The tool expects the interrupt-in endpoint to be ep1in,
  		 * otherwise it crashes. This is a result of the previous
  		 * hard-coded EP setup in drivers/usb/gadget/epautoconf.c
  		 * which did special-case EP allocation for SPL builds,