]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit72dfb77a4170d7b158a39a62f5dfc2ed5dbf82f3
treeb23d76a7fe2a2d6699596043a2ca819783403c0d
parentc01c8cbef3b900ad4edbd69b7470d3f8615310ea
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