net: phy: at803x: add qca8081 fifo reset on the link changed
authorLuo Jie <quic_luoj@quicinc.com>
Sun, 16 Jul 2023 08:49:24 +0000 (16:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jul 2023 09:15:14 +0000 (10:15 +0100)
commit723970affdd8766fa0d91cd34bf2ffc861538b5f
treeac81c248d03f7ee144fef466f409f69a6f3134af
parentdf9401ff3e6eeaa42bfb06761967f1b71f5afce7
net: phy: at803x: add qca8081 fifo reset on the link changed

The qca8081 sgmii fifo needs to be reset on link down and
released on the link up in case of any abnormal issue
such as the packet blocked on the PHY.

Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c