summaryrefslogtreecommitdiff
path: root/drivers/clocksource/timer-stm32-lp.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-02-28 11:11:59 +0000
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-04-04 14:39:34 +0100
commit6f231d7338320e1e84bf4530b08caebf99a87a7a (patch)
tree42634529ee407be3dad20f66575610f386be5298 /drivers/clocksource/timer-stm32-lp.c
parent14b2af93d050912adb4e692f5f94f29d0f390e73 (diff)
net: stmmac: leave enabling _RE and _TE to stmmac_mac_link_up()
We only need to enable the MAC receiver and transmiter only when the link has come up. With commit "net: stmmac: move phylink_resume() after resume setup is complete" we move the race between stmmac_mac_link_up() and stmmac_hw_setup(), ensuring that stmmac_mac_link_up() happens afterwards. This patch is a pre-requisit of this change. Remove the unnecessary call to stmmac_mac_set(, true) in stmmac_hw_setup(). Tested-by: Furong Xu <0x1207@gmail.com> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/clocksource/timer-stm32-lp.c')
0 files changed, 0 insertions, 0 deletions