mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user