Loading drivers/usb/phy/phy-msm-qusb-v2.c +9 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ #define DPSE_INTERRUPT BIT(0) #define QUSB2PHY_PORT_TUNE1 0x23c #define QUSB2PHY_TEST1 0x24C #define QUSB2PHY_1P2_VOL_MIN 1200000 /* uV */ #define QUSB2PHY_1P2_VOL_MAX 1200000 /* uV */ Loading Loading @@ -630,6 +631,14 @@ static int qusb_phy_set_suspend(struct usb_phy *phy, int suspend) writel_relaxed(intr_mask, qphy->base + QUSB2PHY_INTR_CTRL); /* enable phy auto-resume */ writel_relaxed(0x91, qphy->base + QUSB2PHY_TEST1); /* flush the previous write before next write */ 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 −0 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ #define DPSE_INTERRUPT BIT(0) #define QUSB2PHY_PORT_TUNE1 0x23c #define QUSB2PHY_TEST1 0x24C #define QUSB2PHY_1P2_VOL_MIN 1200000 /* uV */ #define QUSB2PHY_1P2_VOL_MAX 1200000 /* uV */ Loading Loading @@ -630,6 +631,14 @@ static int qusb_phy_set_suspend(struct usb_phy *phy, int suspend) writel_relaxed(intr_mask, qphy->base + QUSB2PHY_INTR_CTRL); /* enable phy auto-resume */ writel_relaxed(0x91, qphy->base + QUSB2PHY_TEST1); /* flush the previous write before next write */ wmb(); writel_relaxed(0x90, qphy->base + QUSB2PHY_TEST1); dev_dbg(phy->dev, "%s: intr_mask = %x\n", __func__, intr_mask); Loading