ethernet: reset ethernet when resume [1/1]
authorZhuo Wang <zhuo.wang@amlogic.com>
Tue, 2 Apr 2019 05:43:59 +0000 (13:43 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Wed, 3 Apr 2019 02:54:56 +0000 (19:54 -0700)
commit867ae48973a84d21567698956dec5759f64556db
treed6d66ed1c0fc17c4869505d2a66f536265528641
parent5e47d3792b2202662fac8f48ae376b31f27f03db
ethernet: reset ethernet when resume [1/1]

PD#SWPL-6608

Problem:
system will report tx error somethime after resume

Solution:
reset ethernet when resume

Verify:
verify on u200 board

Change-Id: I9863a8a50c08addd4e2d8c024f46a2e7568c28b4
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c