Loading drivers/usb/phy/phy-msm-snps-hs.c +10 −9 Original line number Diff line number Diff line Loading @@ -510,9 +510,9 @@ static int msm_hsphy_set_suspend(struct usb_phy *uphy, int suspend) } if (suspend) { /* Bus suspend */ if (phy->cable_connected || (phy->phy.flags & PHY_HOST_MODE)) { if (phy->cable_connected) { /* Enable auto-resume functionality by pulsing signal */ if (phy->phy.flags & PHY_HOST_MODE) { msm_usb_write_readback(phy->base, USB2_PHY_USB_PHY_HS_PHY_CTRL2, USB2_AUTO_RESUME, USB2_AUTO_RESUME); Loading @@ -520,6 +520,7 @@ static int msm_hsphy_set_suspend(struct usb_phy *uphy, int suspend) msm_usb_write_readback(phy->base, USB2_PHY_USB_PHY_HS_PHY_CTRL2, USB2_AUTO_RESUME, 0); } msm_hsphy_enable_clocks(phy, false); } else {/* Cable disconnect */ Loading Loading
drivers/usb/phy/phy-msm-snps-hs.c +10 −9 Original line number Diff line number Diff line Loading @@ -510,9 +510,9 @@ static int msm_hsphy_set_suspend(struct usb_phy *uphy, int suspend) } if (suspend) { /* Bus suspend */ if (phy->cable_connected || (phy->phy.flags & PHY_HOST_MODE)) { if (phy->cable_connected) { /* Enable auto-resume functionality by pulsing signal */ if (phy->phy.flags & PHY_HOST_MODE) { msm_usb_write_readback(phy->base, USB2_PHY_USB_PHY_HS_PHY_CTRL2, USB2_AUTO_RESUME, USB2_AUTO_RESUME); Loading @@ -520,6 +520,7 @@ static int msm_hsphy_set_suspend(struct usb_phy *uphy, int suspend) msm_usb_write_readback(phy->base, USB2_PHY_USB_PHY_HS_PHY_CTRL2, USB2_AUTO_RESUME, 0); } msm_hsphy_enable_clocks(phy, false); } else {/* Cable disconnect */ Loading