fec: Handle the regulator in suspend/resume
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 27 May 2013 03:48:33 +0000 (03:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 May 2013 05:29:54 +0000 (22:29 -0700)
commit238f7bc74cde96e285e59a84e0c7bbd37faa8c07
treefb6e0796574966738c80cc68cabfd00319283383
parentc55284e4ddf3779f52d730bedfa264d35d42e539
fec: Handle the regulator in suspend/resume

In order to save power, let's disable the regulator in the suspend function and
enable it in resume.

Tested on a mx28evk board.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c