Skip to content
Commit 3647bc35 authored by Rabin Vincent's avatar Rabin Vincent Committed by David S. Miller
Browse files

dwc_eth_qos: Reset hardware before PHY start



The hardware reset is currently done after phy_start() is called,
leading to a race where we can lose the link status if the phy state
machine calls dwceqos_adjust_link() before we reset the MAC registers.

Acked-by: default avatarLars Persson <larper@axis.com>
Signed-off-by: default avatarRabin Vincent <rabinv@axis.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 16186a82
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment