usb: dwc3: gadget: Fix excepts/expects typo
authorMarek Vasut <marex@denx.de>
Mon, 24 Mar 2025 14:39:43 +0000 (15:39 +0100)
committerMattijs Korpershoek <mkorpershoek@kernel.org>
Thu, 10 Apr 2025 07:58:56 +0000 (09:58 +0200)
Fix the excepts typo to expects , no functional change.

Fixes: 0916053ebc56 ("usb: dwc3: gadget: Fix match_ep callback for NXP UUU tool")
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/20250324143956.91791-1-marex@denx.de
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
drivers/usb/dwc3/gadget.c

index 477ecd0..2b01113 100644 (file)
@@ -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,