forked from Minki/linux
usb: mxs-phy: re-init phy during the connection is useless
As phy is working, re-init phy may cause unexpected results Signed-off-by: Peter Chen <peter.chen@freescale.com> Acked-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ff84f0e9f7
commit
0e1a024d1a
@ -80,7 +80,6 @@ static int mxs_phy_on_connect(struct usb_phy *phy, int port)
|
|||||||
{
|
{
|
||||||
dev_dbg(phy->dev, "Connect on port %d\n", port);
|
dev_dbg(phy->dev, "Connect on port %d\n", port);
|
||||||
|
|
||||||
mxs_phy_hw_init(to_mxs_phy(phy));
|
|
||||||
writel_relaxed(BM_USBPHY_CTRL_ENHOSTDISCONDETECT,
|
writel_relaxed(BM_USBPHY_CTRL_ENHOSTDISCONDETECT,
|
||||||
phy->io_priv + HW_USBPHY_CTRL_SET);
|
phy->io_priv + HW_USBPHY_CTRL_SET);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user