]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Apr 2024 14:35:44 +0000 (16:35 +0200)
commit4bb7ad116be79b652e1075727dbc16b541d449c3
tree7f10130fa78d9ee5302d3274729c3b542d3ea65f
parentcf893953633db14a749aa6677bed20529cfb13ac
net: bcmasp: Bring up unimac after PHY link up

[ Upstream commit dfd222e2aef68818320a57b13a1c52a44c22bc80 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c