net: dsa: mt7530: use resolved link config in mac_link_up()
authorRené van Dorst <opensource@vdorst.com>
Fri, 27 Mar 2020 14:44:12 +0000 (15:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Mar 2020 05:05:53 +0000 (22:05 -0700)
commit1d01145fd659f9f96ede1c34e3bea0ccb558a293
tree87319840b73ea957f8ca5b16c3da1184d63ee7ca
parent336aa67bd027f4771c3a7f3d8a3fd15d923f5df5
net: dsa: mt7530: use resolved link config in mac_link_up()

Convert the mt7530 switch driver to use the finalised link
parameters in mac_link_up() rather than the parameters in mac_config().

Signed-off-by: René van Dorst <opensource@vdorst.com>
Tested-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mt7530.c
drivers/net/dsa/mt7530.h