eth: remove network restart [1/1]

PD#SWPL-138314

Problem:
restart network will involve too much
problem, remove this flow, left only for txhd2

Solution:
remove network restart when resume
only txhd2 will use this function

Verify:
BE311

Change-Id: Ib8773adf20f0176b053fc22802426725d83d2ccc
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
This commit is contained in:
Zhuo Wang
2023-10-08 10:44:29 +08:00
committed by Dongjin Kim
parent 43ac816fa7
commit cd0b0bebf3

View File

@@ -775,8 +775,9 @@ static int meson8b_resume(struct device *dev)
/*our phy not support wol by now*/
phydev->irq_suspended = 0;
ret = stmmac_resume(dev);
pr_info("wzh %s\n", __func__);
stmmac_global_err(priv);
/*this flow only for txhd2, not for common anymore*/
if (phy_mode == 2)
stmmac_global_err(priv);
}
return ret;
}