stmmac: dwmac-socfpga: call phy_resume() only in resume callback
authorJoachim Eastwood <manabian@gmail.com>
Sun, 1 May 2016 20:58:22 +0000 (22:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 May 2016 19:22:20 +0000 (15:22 -0400)
commit537372472415b7b75856561d23891a0bf3477ea4
treefe46d8fc7bc0248473ca9bb2ed27f7e0a7802cd1
parent70cb136f7730830aa1134925a941e3ad96e3a846
stmmac: dwmac-socfpga: call phy_resume() only in resume callback

Calling phy_resume() should only be need during driver resume to
workaround a hardware errata.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Tested-by: Marek Vasut <marex@denx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c