]> git.baikalelectronics.ru Git - kernel.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)
commit99ebad08e7596935cee10a51aa59b13d54066127
treee34e2a9526a127a5c633bfb0bfdf6d6887f11d1f
parenteefb323badc3615b249d6ae53cbb3be996e88cbe
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