Skip to content

Commit

Permalink
net: stmmac: never call stmmac_init_tx_coalesce from stmmac_resume
Browse files Browse the repository at this point in the history
stmmac_init_tx_coalesce will reinit timer when timer is running.

Change-Id: I9db89510858f773a2681f0cd5da22526058a295f
Signed-off-by: Tao Huang <[email protected]>
  • Loading branch information
rkhuangtao committed Aug 3, 2019
1 parent 76cab79 commit 72cb0ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3138,7 +3138,6 @@ int stmmac_resume(struct device *dev)
stmmac_clear_descriptors(priv);

stmmac_hw_setup(ndev, false);
stmmac_init_tx_coalesce(priv);
stmmac_set_rx_mode(ndev);

napi_enable(&priv->napi);
Expand Down

0 comments on commit 72cb0ef

Please sign in to comment.