Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66455e1b authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: emac: Fix issue with auto negotiation disabled"

parents ee120bfc 97a8770f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -3188,6 +3188,11 @@ static int emac_pm_resume(struct device *device)
	emac_hw_reset_mac(hw);
	emac_phy_reset_external(adpt);

	retval = emac_phy_setup_link(adpt, phy->autoneg_advertised, true,
				     !phy->disable_fc_autoneg);
	if (retval)
		goto error;

	/* Disable EPHY Link UP interrupt */
	retval = emac_phy_write(adpt, phy->addr, MII_INT_ENABLE, 0);
	if (retval)