Loading drivers/usb/phy/phy-msm-qusb-v2.c +9 −6 Original line number Diff line number Diff line Loading @@ -652,6 +652,8 @@ static int qusb_phy_set_suspend(struct usb_phy *phy, int suspend) writel_relaxed(intr_mask, qphy->base + QUSB2PHY_INTR_CTRL); if (linestate & (LINESTATE_DP | LINESTATE_DM)) { /* enable phy auto-resume */ writel_relaxed(0x91, qphy->base + QUSB2PHY_TEST1); Loading @@ -659,6 +661,7 @@ static int qusb_phy_set_suspend(struct usb_phy *phy, int suspend) wmb(); writel_relaxed(0x90, qphy->base + QUSB2PHY_TEST1); } dev_dbg(phy->dev, "%s: intr_mask = %x\n", __func__, intr_mask); Loading Loading
drivers/usb/phy/phy-msm-qusb-v2.c +9 −6 Original line number Diff line number Diff line Loading @@ -652,6 +652,8 @@ static int qusb_phy_set_suspend(struct usb_phy *phy, int suspend) writel_relaxed(intr_mask, qphy->base + QUSB2PHY_INTR_CTRL); if (linestate & (LINESTATE_DP | LINESTATE_DM)) { /* enable phy auto-resume */ writel_relaxed(0x91, qphy->base + QUSB2PHY_TEST1); Loading @@ -659,6 +661,7 @@ static int qusb_phy_set_suspend(struct usb_phy *phy, int suspend) wmb(); writel_relaxed(0x90, qphy->base + QUSB2PHY_TEST1); } dev_dbg(phy->dev, "%s: intr_mask = %x\n", __func__, intr_mask); Loading