Skip to content

Commit 8c47d57

Browse files
dangowrtkuba-moo
authored andcommitted
net: ethernet: mtk_eth_soc: sync mtk_clks_source_name array
When removing the clock bits for clocks which aren't used by the Ethernet driver their names should also have been removed from the mtk_clks_source_name array. Remove them now as enum mtk_clks_map needs to match the mtk_clks_source_name array so the driver can make sure that all required clocks are present and correctly name missing clocks. Fixes: 887b1d1 ("net: ethernet: mtk_eth_soc: drop clocks unused by Ethernet driver") Signed-off-by: Daniel Golle <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://patch.msgid.link/d075e706ff1cebc07f9ec666736d0b32782fd487.1745555321.git.daniel@makrotopia.org Signed-off-by: Jakub Kicinski <[email protected]>
1 parent f04dd30 commit 8c47d57

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/ethernet/mediatek/mtk_eth_soc.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,8 @@ static const char * const mtk_clks_source_name[] = {
269269
"ethwarp_wocpu2",
270270
"ethwarp_wocpu1",
271271
"ethwarp_wocpu0",
272-
"top_usxgmii0_sel",
273-
"top_usxgmii1_sel",
274272
"top_sgm0_sel",
275273
"top_sgm1_sel",
276-
"top_xfi_phy0_xtal_sel",
277-
"top_xfi_phy1_xtal_sel",
278274
"top_eth_gmii_sel",
279275
"top_eth_refck_50m_sel",
280276
"top_eth_sys_200m_sel",

0 commit comments

Comments
 (0)