]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: phy: mxs: Add implementation of set_wakeup
authorPeter Chen <peter.chen@freescale.com>
Mon, 24 Feb 2014 02:21:02 +0000 (10:21 +0800)
committerFelipe Balbi <balbi@ti.com>
Wed, 5 Mar 2014 20:40:09 +0000 (14:40 -0600)
commit3f1265056be0a3a569a0409410d4b11048688216
treee34e2a9526a127a5c633bfb0bfdf6d6887f11d1f
parent57bf9b09a6ad517b0c790b786845660ec5604774
usb: phy: mxs: Add implementation of set_wakeup

When we need the PHY can be waken up by external signals,
we can call this API. Besides, we call mxs_phy_disconnect_line
at this API to close the connection between USB PHY and
controller, after that, the line state from controller is SE0.
Once the PHY is out of power, without calling mxs_phy_disconnect_line,
there are unknown wakeups due to dp/dm floating at device mode.

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