net: marvell10g: soft-reset the PHY when coming out of low power
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 14 Apr 2020 19:49:08 +0000 (20:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Apr 2020 23:48:09 +0000 (16:48 -0700)
commit8f48c2ac85eda8d8a01c83c6d73f891c43ef182d
tree395d2def7dbc1aed505bc7e644409261602c8056
parentdd649b4ff0127559950965d739cc63efae50ecd9
net: marvell10g: soft-reset the PHY when coming out of low power

Soft-reset the PHY when coming out of low power mode, which seems to
be necessary with firmware versions 0.3.3.0 and 0.3.10.0.

This depends on ("net: marvell10g: report firmware version")

Fixes: c9cc1c815d36 ("net: phy: marvell10g: place in powersave mode at probe")
Reported-by: Matteo Croce <mcroce@redhat.com>
Tested-by: Matteo Croce <mcroce@redhat.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell10g.c