Loading drivers/usb/phy/phy-msm-qusb.c +8 −6 Original line number Original line Diff line number Diff line Loading @@ -1007,6 +1007,7 @@ static int qusb_phy_set_suspend(struct usb_phy *phy, int suspend) writel_relaxed(intr_mask, writel_relaxed(intr_mask, qphy->base + QUSB2PHY_PORT_INTR_CTRL); qphy->base + QUSB2PHY_PORT_INTR_CTRL); if (linestate & (LINESTATE_DP | LINESTATE_DM)) { /* enable phy auto-resume */ /* enable phy auto-resume */ writel_relaxed(0x0C, writel_relaxed(0x0C, qphy->base + QUSB2PHY_PORT_TEST_CTRL); qphy->base + QUSB2PHY_PORT_TEST_CTRL); Loading @@ -1014,6 +1015,7 @@ static int qusb_phy_set_suspend(struct usb_phy *phy, int suspend) wmb(); wmb(); writel_relaxed(0x04, writel_relaxed(0x04, qphy->base + QUSB2PHY_PORT_TEST_CTRL); qphy->base + QUSB2PHY_PORT_TEST_CTRL); } dev_dbg(phy->dev, "%s: intr_mask = %x\n", dev_dbg(phy->dev, "%s: intr_mask = %x\n", Loading Loading
drivers/usb/phy/phy-msm-qusb.c +8 −6 Original line number Original line Diff line number Diff line Loading @@ -1007,6 +1007,7 @@ static int qusb_phy_set_suspend(struct usb_phy *phy, int suspend) writel_relaxed(intr_mask, writel_relaxed(intr_mask, qphy->base + QUSB2PHY_PORT_INTR_CTRL); qphy->base + QUSB2PHY_PORT_INTR_CTRL); if (linestate & (LINESTATE_DP | LINESTATE_DM)) { /* enable phy auto-resume */ /* enable phy auto-resume */ writel_relaxed(0x0C, writel_relaxed(0x0C, qphy->base + QUSB2PHY_PORT_TEST_CTRL); qphy->base + QUSB2PHY_PORT_TEST_CTRL); Loading @@ -1014,6 +1015,7 @@ static int qusb_phy_set_suspend(struct usb_phy *phy, int suspend) wmb(); wmb(); writel_relaxed(0x04, writel_relaxed(0x04, qphy->base + QUSB2PHY_PORT_TEST_CTRL); qphy->base + QUSB2PHY_PORT_TEST_CTRL); } dev_dbg(phy->dev, "%s: intr_mask = %x\n", dev_dbg(phy->dev, "%s: intr_mask = %x\n", Loading