[PATCH] usb: dwc3: gadget: Fix excepts/expects typo
Neil Armstrong
neil.armstrong at linaro.org
Mon Mar 24 15:51:23 CET 2025
On 24/03/2025 15:39, Marek Vasut wrote:
> 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 at denx.de>
> ---
> Cc: Alexander Sverdlin <alexander.sverdlin at siemens.com>
> Cc: Felipe Balbi <felipe.balbi at linux.intel.com>
> Cc: Mattijs Korpershoek <mkorpershoek at baylibre.com>
> Cc: Neil Armstrong <neil.armstrong at linaro.org>
> Cc: Thinh Nguyen <Thinh.Nguyen at synopsys.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: u-boot at lists.denx.de
> ---
> drivers/usb/dwc3/gadget.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
> index 477ecd02098..2b01113d54c 100644
> --- a/drivers/usb/dwc3/gadget.c
> +++ b/drivers/usb/dwc3/gadget.c
> @@ -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,
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
More information about the U-Boot
mailing list