]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
usb: mtu3: fix misspelled words
authorRandy Dunlap <rdunlap@infradead.org>
Sun, 26 Oct 2025 22:45:57 +0000 (15:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Oct 2025 14:35:25 +0000 (15:35 +0100)
Fix spelling errors as reported by codespell.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://patch.msgid.link/20251026224558.826143-1-rdunlap@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/mtu3.h
drivers/usb/mtu3/mtu3_core.c
drivers/usb/mtu3/mtu3_qmu.c

index c11840b9a6f16582a3fbb14d7f6fc1a4104ef63b..5e59f58940b54e05c82d0bde923b4e88bfd14092 100644 (file)
@@ -76,7 +76,7 @@ struct mtu3_request;
 
 /**
  * Normally the device works on HS or SS, to simplify fifo management,
- * devide fifo into some 512B parts, use bitmap to manage it; And
+ * divide fifo into some 512B parts, use bitmap to manage it; And
  * 128 bits size of bitmap is large enough, that means it can manage
  * up to 64KB fifo size.
  * NOTE: MTU3_EP_FIFO_UNIT should be power of two
@@ -121,7 +121,7 @@ enum mtu3_g_ep0_state {
 };
 
 /**
- * MTU3_DR_FORCE_NONE: automatically switch host and periperal mode
+ * MTU3_DR_FORCE_NONE: automatically switch host and peripheral mode
  *             by IDPIN signal.
  * MTU3_DR_FORCE_HOST: force to enter host mode and override OTG
  *             IDPIN signal.
index a3a6282893d091aaa90eebd984342ddbc234d324..3a25ee18f144f88029f0f19c63f541e763830532 100644 (file)
@@ -290,7 +290,7 @@ static void mtu3_csr_init(struct mtu3 *mtu)
 
        /* delay about 0.1us from detecting reset to send chirp-K */
        mtu3_clrbits(mbase, U3D_LINK_RESET_INFO, WTCHRP_MSK);
-       /* enable automatical HWRW from L1 */
+       /* enable automatic HWRW from L1 */
        mtu3_setbits(mbase, U3D_POWER_MANAGEMENT, LPM_HRWE);
 }
 
index 3d77408e3133ce3e7969f0d28090477594cf9e88..03f26589b0563fcc57da43334b73aaa3d9daebff 100644 (file)
@@ -221,7 +221,7 @@ static struct qmu_gpd *advance_deq_gpd(struct mtu3_gpd_ring *ring)
        return ring->dequeue;
 }
 
-/* check if a ring is emtpy */
+/* check if a ring is empty */
 static bool gpd_ring_empty(struct mtu3_gpd_ring *ring)
 {
        struct qmu_gpd *enq = ring->enqueue;