Skip to content

Commit 4d625dc

Browse files
hormsNipaLocal
authored and
NipaLocal
committed
net: ethernet: mtk_eth_soc: Correct spelling
Correct spelling of platforms, various, and initial. As flagged by codespell. Signed-off-by: Simon Horman <[email protected]> Signed-off-by: NipaLocal <nipa@local>
1 parent e405db1 commit 4d625dc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

drivers/net/ethernet/mediatek/mtk_eth_soc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ struct mtk_reg_map {
11781178
};
11791179

11801180
/* struct mtk_eth_data - This is the structure holding all differences
1181-
* among various plaforms
1181+
* among various platforms
11821182
* @reg_map Soc register map.
11831183
* @ana_rgc3: The offset for register ANA_RGC3 related to
11841184
* sgmiisys syscon
@@ -1278,7 +1278,7 @@ struct mtk_soc_data {
12781278
* @mii_bus: If there is a bus we need to create an instance for it
12791279
* @pending_work: The workqueue used to reset the dma ring
12801280
* @state: Initialization and runtime state of the device
1281-
* @soc: Holding specific data among vaious SoCs
1281+
* @soc: Holding specific data among various SoCs
12821282
*/
12831283

12841284
struct mtk_eth {

drivers/net/ethernet/mediatek/mtk_wed.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2000,7 +2000,7 @@ mtk_wed_configure_irq(struct mtk_wed_device *dev, u32 irq_mask)
20002000
if (mtk_wed_is_v3_or_greater(dev->hw))
20012001
wed_set(dev, MTK_WED_CTRL, MTK_WED_CTRL_TX_TKID_ALI_EN);
20022002

2003-
/* initail tx interrupt trigger */
2003+
/* initial tx interrupt trigger */
20042004
wed_w32(dev, MTK_WED_WPDMA_INT_CTRL_TX,
20052005
MTK_WED_WPDMA_INT_CTRL_TX0_DONE_EN |
20062006
MTK_WED_WPDMA_INT_CTRL_TX0_DONE_CLR |
@@ -2011,7 +2011,7 @@ mtk_wed_configure_irq(struct mtk_wed_device *dev, u32 irq_mask)
20112011
FIELD_PREP(MTK_WED_WPDMA_INT_CTRL_TX1_DONE_TRIG,
20122012
dev->wlan.tx_tbit[1]));
20132013

2014-
/* initail txfree interrupt trigger */
2014+
/* initial txfree interrupt trigger */
20152015
wed_w32(dev, MTK_WED_WPDMA_INT_CTRL_TX_FREE,
20162016
MTK_WED_WPDMA_INT_CTRL_TX_FREE_DONE_EN |
20172017
MTK_WED_WPDMA_INT_CTRL_TX_FREE_DONE_CLR |

0 commit comments

Comments
 (0)