net: stmmac: dwmac-rk: fixes the gmac resume after PD on/off
authorRoger Chen <roger.chen@rock-chips.com>
Thu, 1 Sep 2016 17:50:00 +0000 (01:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Sep 2016 00:08:56 +0000 (17:08 -0700)
commit45383f528fcf417539892440dd0eb9fb96990ef7
tree65f315f48e3501a72af0e98e26fe7561385dd8f2
parentba289af8020a6e81eac424e1d4ef3fcc8ff1b23d
net: stmmac: dwmac-rk: fixes the gmac resume after PD on/off

GMAC Power Domain(PD) will be disabled during suspend.
That will causes GRF registers reset.
So corresponding GRF registers for GMAC must be setup again.

Signed-off-by: Roger Chen <roger.chen@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c