net: bcmasp: Bring up unimac after PHY link up
authorJustin Chen <justin.chen@broadcom.com>
Mon, 25 Mar 2024 19:30:24 +0000 (12:30 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 28 Mar 2024 09:46:38 +0000 (10:46 +0100)
commitdfd222e2aef68818320a57b13a1c52a44c22bc80
treea042489c9e87617f82993120e225c4bb13aacf63
parent6a4aee277740d04ac0fd54cfa17cc28261932ddc
net: bcmasp: Bring up unimac after PHY link up

The unimac requires the PHY RX clk during reset or it may be put
into a bad state. Bring up the unimac after link up to ensure the
PHY RX clk exists.

Fixes: 490cb412007d ("net: bcmasp: Add support for ASP2.0 Ethernet controller")
Signed-off-by: Justin Chen <justin.chen@broadcom.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c