]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: phy: mxs: Add system suspend/resume API
authorPeter Chen <peter.chen@freescale.com>
Mon, 24 Feb 2014 02:21:03 +0000 (10:21 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:19 +0000 (21:16 -0600)
commit680b01b0944e8bef7ce9c3cf2a076bbd91da1549
tree6323450ece39c2b4d930a29587cc859d6bcc40d2
parentf47319b8ed2a43d6e745e3b80cfead3724ad2735
usb: phy: mxs: Add system suspend/resume API

We need this to keep PHY's power on or off during the system
suspend mode. If we need to enable USB wakeup, then we
must keep PHY's power being on during the system suspend mode.
Otherwise, we need to keep PHY's power being off to save power.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
[shawn.guo: cherry-pick commit bf7834380086 from upstream]
drivers/usb/phy/phy-mxs-usb.c