]> www.infradead.org Git - nvme.git/commit
net: dsa: b53: Call b53_eee_init() from b53_mac_link_up()
authorFlorian Fainelli <florian.fainelli@broadcom.com>
Tue, 23 Apr 2024 18:33:37 +0000 (11:33 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 25 Apr 2024 18:46:38 +0000 (11:46 -0700)
commit888128f360e14315bb24eda0f49f97e3b28d267c
treeaa762a797a643b39d430e43f0c9e29653b93b84e
parent536e5b2ecbaea7dfc89b952310b89d53142b53c9
net: dsa: b53: Call b53_eee_init() from b53_mac_link_up()

And make sure this is done for the MLO_AN_PHY case, where it actually
makes sense, contrary to b53_adjust_link() which only did it for
fixed-PHY configurations where it does not make sense.

Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20240423183339.1368511-7-florian.fainelli@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/b53/b53_common.c