]> git.baikalelectronics.ru Git - kernel.git/commitdiff
usb: gadget: tegra-xudc: clean up comments
authorTom Rix <trix@redhat.com>
Sun, 17 Apr 2022 13:07:12 +0000 (09:07 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Apr 2022 17:20:42 +0000 (19:20 +0200)
Spelling replacements
endpiont to endpoint
Compliacne to Compliance

Signed-off-by: Tom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20220417130712.3932247-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/tegra-xudc.c

index d9c406bdb680a8d23cf10ba3b8c3440c4a02694c..6d31ccf6aee5c2e883fff9bd410dc6fb92479276 100644 (file)
@@ -1434,7 +1434,7 @@ __tegra_xudc_ep_dequeue(struct tegra_xudc_ep *ep,
                return 0;
        }
 
-       /* Halt DMA for this endpiont. */
+       /* Halt DMA for this endpoint. */
        if (ep_ctx_read_state(ep->context) == EP_STATE_RUNNING) {
                ep_pause(xudc, ep->index);
                ep_wait_for_inactive(xudc, ep->index);
@@ -3423,7 +3423,7 @@ static void tegra_xudc_device_params_init(struct tegra_xudc *xudc)
        }
 
        /*
-        * Compliacne suite appears to be violating polling LFPS tBurst max
+        * Compliance suite appears to be violating polling LFPS tBurst max
         * of 1.4us.  Send 1.45us instead.
         */
        val = xudc_readl(xudc, SSPX_CORE_CNT32);