net: bcmgenet: power down and up GPHY during suspend/resume
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 23 Mar 2015 22:09:57 +0000 (15:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2015 02:10:43 +0000 (22:10 -0400)
commita6f31f5e3b0498fc0034e07c172925316064201c
treeeba7a9996f5d7f2b23d69f59e1a55a4ffa0cdb43
parenta642c4f7906f36bf431da41973d6ff16b723f079
net: bcmgenet: power down and up GPHY during suspend/resume

In case the interface is not used, power down the integrated GPHY during
suspend. Similarly to bcmgenet_open(), bcmgenet_resume() powers on the GPHY
prior to any UniMAC activity.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c