Loading drivers/usb/phy/phy-msm-snps-hs.c +6 −7 Original line number Diff line number Diff line Loading @@ -485,14 +485,13 @@ static int msm_hsphy_set_suspend(struct usb_phy *uphy, int suspend) suspend: if (suspend) { /* Bus suspend */ if (phy->cable_connected || (phy->phy.flags & PHY_HOST_MODE)) { /* Enable auto-resume functionality only when * there is some peripheral connected and real * bus suspend happened if (phy->cable_connected) { /* Enable auto-resume functionality only during host * mode bus suspend with some peripheral connected. */ if ((phy->phy.flags & PHY_HSFS_MODE) || (phy->phy.flags & PHY_LS_MODE)) { if ((phy->phy.flags & PHY_HOST_MODE) && ((phy->phy.flags & PHY_HSFS_MODE) || (phy->phy.flags & PHY_LS_MODE))) { /* Enable auto-resume functionality by pulsing * signal */ Loading Loading
drivers/usb/phy/phy-msm-snps-hs.c +6 −7 Original line number Diff line number Diff line Loading @@ -485,14 +485,13 @@ static int msm_hsphy_set_suspend(struct usb_phy *uphy, int suspend) suspend: if (suspend) { /* Bus suspend */ if (phy->cable_connected || (phy->phy.flags & PHY_HOST_MODE)) { /* Enable auto-resume functionality only when * there is some peripheral connected and real * bus suspend happened if (phy->cable_connected) { /* Enable auto-resume functionality only during host * mode bus suspend with some peripheral connected. */ if ((phy->phy.flags & PHY_HSFS_MODE) || (phy->phy.flags & PHY_LS_MODE)) { if ((phy->phy.flags & PHY_HOST_MODE) && ((phy->phy.flags & PHY_HSFS_MODE) || (phy->phy.flags & PHY_LS_MODE))) { /* Enable auto-resume functionality by pulsing * signal */ Loading