ethernet: handle tx timeout
authorZhuo Wang <zhuo.wang@amlogic.com>
Fri, 20 Jul 2018 03:10:50 +0000 (11:10 +0800)
committerLuan Yuan <luan.yuan@amlogic.com>
Wed, 13 Mar 2019 12:19:54 +0000 (20:19 +0800)
commit6b195f8476e7ffaa9c1c946f5e7b6ea7b75d1b71
tree08879a52c58e75262d1b6205e825c79a5831f963
parentaeb98641dfb4149cadf6590c0fb02fc2befdef28
ethernet: handle tx timeout

PD# 169839

After do suspend/resume circularly, sometimes ethernet can't recover from
suspend. Add a phy reset when every resume.

Change-Id: Id03223a9c62f4dcab1cdfbc4805cc3b4c0212cf5
Signed-off-by: Shen Liu <shen.liu@amlogic.com>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c