net: mt7531: only do PLL once after the reset
authorAlexander Couzens <lynxis@fe80.eu>
Sat, 17 Sep 2022 00:07:33 +0000 (02:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Oct 2022 08:39:38 +0000 (10:39 +0200)
commit5de02ab84aeca765da0e4d8e999af35325ac67c2
tree619dc359c07cda25deef5f3c1d0ab3183b0e554f
parent56e3f8d56299217a26917dcc0142ea7be7776861
net: mt7531: only do PLL once after the reset

commit 42bc4fafe359ed6b73602b7a2dba0dd99588f8ce upstream.

Move the PLL init of the switch out of the pad configuration of the port
6 (usally cpu port).

Fix a unidirectional 100 mbit limitation on 1 gbit or 2.5 gbit links for
outbound traffic on port 5 or port 6.

Fixes: c288575f7810 ("net: dsa: mt7530: Add the support of MT7531 switch")
Cc: stable@vger.kernel.org
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/dsa/mt7530.c