net: dsa/b53: use resolved link config in mac_link_up()
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 30 Jun 2020 10:25:06 +0000 (11:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Jun 2020 20:03:26 +0000 (13:03 -0700)
commitab017b7921d3242dd2fb04fce77680e88d97477e
treeb23d76a7fe2a2d6699596043a2ca819783403c0d
parent3cad1c8b49e93c62f27f4eb34e0ccfde92f4cdc0
net: dsa/b53: use resolved link config in mac_link_up()

Convert the B53 driver to use the finalised link parameters in
mac_link_up() rather than the parameters in mac_config(). This is
just a matter of moving the call to b53_force_port_config().

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c