OSDN Git Service

usb/musb: fix repeated words in comments
authorJilin Yuan <yuanjilin@cdjrlc.com>
Sat, 16 Jul 2022 13:44:57 +0000 (21:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 27 Jul 2022 12:34:05 +0000 (14:34 +0200)
 Delete the redundant word 'mode'.
 Delete the redundant word 'than'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
Link: https://lore.kernel.org/r/20220716134457.46535-1-yuanjilin@cdjrlc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_cppi41.c
drivers/usb/musb/tusb6010.c

index 7fbb8a3..c963cb8 100644 (file)
@@ -286,7 +286,7 @@ static void cppi41_dma_callback(void *private_data,
         * receive a FIFO empty interrupt so the only thing we can do is
         * to poll for the bit. On HS it usually takes 2us, on FS around
         * 110us - 150us depending on the transfer size.
-        * We spin on HS (no longer than than 25us and setup a timer on
+        * We spin on HS (no longer than 25us and setup a timer on
         * FS to check for the bit and complete the transfer.
         */
        if (is_host_active(musb)) {
index 7ed4cc3..5609b4e 100644 (file)
@@ -495,7 +495,7 @@ done:
 }
 
 /*
- * Maybe put TUSB6010 into idle mode mode depending on USB link status,
+ * Maybe put TUSB6010 into idle mode depending on USB link status,
  * like "disconnected" or "suspended".  We'll be woken out of it by
  * connect, resume, or disconnect.
  *