]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: fec: use pinctrl PM helpers
authorNimrod Andy <B38611@freescale.com>
Tue, 27 May 2014 07:51:08 +0000 (15:51 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:37 +0000 (21:17 -0600)
commitafec6178691cfca54006738cc5d64480aba58446
tree1dc96eb87952978fd0a1a09d24be17853b988f20
parent17bcc76ac4f9d62d08a23737d9e459568f3a510e
net: fec: use pinctrl PM helpers

when system suspend, need to set pins to low power state to
save IO power consumption, there are three states of pinctrl:
"default", "idle" and "sleep". Currently enet supports default
and sleep state.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c