Fix gmac regulator mismatch issue when suspend/resume
This commit is contained in:
parent
baa0673d9b
commit
96691d2fdc
1 changed files with 1 additions and 3 deletions
|
@ -1054,7 +1054,7 @@ static int geth_open(struct net_device *ndev)
|
|||
if (ret)
|
||||
goto err;
|
||||
|
||||
ret = sunxi_mac_reset((void *)priv->base, &sunxi_udelay, 10000);
|
||||
ret = sunxi_mac_reset((void *)priv->base, &sunxi_udelay, 50000);
|
||||
if (ret) {
|
||||
netdev_err(ndev, "Initialize hardware error\n");
|
||||
goto desc_err;
|
||||
|
@ -1109,8 +1109,6 @@ err:
|
|||
if (priv->is_suspend)
|
||||
napi_enable(&priv->napi);
|
||||
|
||||
geth_power_off(priv);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue