Commit aaf99e8d authored by Jose Abreu's avatar Jose Abreu Committed by David S. Miller
Browse files

net: phy: xpcs: Reset XPCS upon probe



Reset the XPCS upon probe stage so that we start it from well known
state.

Signed-off-by: default avatarJose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f84752d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -688,7 +688,7 @@ static int xpcs_probe(struct mdio_xpcs_args *xpcs, phy_interface_t interface)
			match = entry;

			if (xpcs_check_features(xpcs, match, interface))
				return 0;
				return xpcs_soft_reset(xpcs, MDIO_MMD_PCS);
		}
	}