]> git.baikalelectronics.ru Git - kernel.git/commit
net: mtk_eth_soc: move MAC_MCR setting to mac_finish()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 18 May 2022 14:55:12 +0000 (15:55 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 May 2022 01:14:30 +0000 (18:14 -0700)
commitbcf271c0ee411d52e4c12c43db823c151e44ba7f
tree7c40ac98111c6ebac4d365b911f571117a439a63
parent05955c5d7217efa26ed62df3b46d400d485c4dda
net: mtk_eth_soc: move MAC_MCR setting to mac_finish()

Move the setting of the MTK_MAC_MCR register from the end of mac_config
into the phylink mac_finish() method, to keep it as the very last write
that is done during configuration.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/mtk_eth_soc.c