usb: phy: mxs: refine mxs_phy_disconnect_line
authorLi Jun <b47624@freescale.com>
Fri, 16 Jan 2015 10:28:59 +0000 (18:28 +0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 27 Jan 2015 15:40:42 +0000 (09:40 -0600)
commit7b09e67639d6857439bae0d6276d443a7c2c9c40
tree8ed4118b3fee8ea43758cf08db1618e7024962d2
parentdd811ba7427f7e6b7e521f3738a5313d00319675
usb: phy: mxs: refine mxs_phy_disconnect_line

For non-otg mode, we keep the usage of disconnect line between phy analog
and digital unchanging; for otg mode, at peripheral role, we keep the usage
unchanging too, at host role, the digital part needs to know dp/dm change
to respond device's data pulse when it is at low power mode.

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