ETH: remove release open when resume for amlogic phy. [1/1]
authorqi duan <qi.duan@amlogic.com>
Thu, 22 Aug 2019 09:45:15 +0000 (05:45 -0400)
committerqi duan <qi.duan@amlogic.com>
Wed, 28 Aug 2019 04:32:20 +0000 (00:32 -0400)
commit40e1a40141ab8fdc1be44dd917c1242e93875a29
tree692eaeaebc51bd5ead758ed2d6ea519254145a3e
parent6e65b0befaf2cdbc107ad9ff87008c815a5134a8
ETH: remove release open when resume for amlogic phy. [1/1]

PD#SWPL-13132

Problem:
stammac release/open when resume will change the dma addr.
if stmmac_xmit and stmmac_tx_work are running at the same time
it will cause panic

Solution:
remove stmmac_release/open call in stmmac_resume for chip
g12a/g12b/tl1/tm2

Verify:
verify on TL1

Change-Id: I5abf2ccf72c39483bbd1cce7b9e24bf596f30d0f
Signed-off-by: qi duan <qi.duan@amlogic.com>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_platform.h