usb: phy: phy-mxs-usb: add power down and disable wakeup for .shutdown
authorPeter Chen <peter.chen@freescale.com>
Wed, 24 Dec 2014 05:48:02 +0000 (13:48 +0800)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 18:13:28 +0000 (12:13 -0600)
commitfdf80e78acbaa6a50531490b3a6ba027a52a69ad
treed3e03f090ebd5fe1c7145f1d86269be600325503
parent6b448af46e2a2fc9563fd86fb3b7cf06fcf2dd47
usb: phy: phy-mxs-usb: add power down and disable wakeup for .shutdown

When we shut down the PHY, we need to power down all PHY's functions
as well as disable wakeup, it is the opposite operation we do at .init.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-mxs-usb.c