diff --git a/drivers/usb/phy/phy-msm-snps-hs.c b/drivers/usb/phy/phy-msm-snps-hs.c index f1fef3c48c96..d6d76c450ef4 100644 --- a/drivers/usb/phy/phy-msm-snps-hs.c +++ b/drivers/usb/phy/phy-msm-snps-hs.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved. + * Copyright (c) 2017-2021, The Linux Foundation. All rights reserved. */ #include @@ -487,12 +487,11 @@ static int msm_hsphy_set_suspend(struct usb_phy *uphy, int suspend) suspend: if (suspend) { /* Bus suspend */ if (phy->cable_connected) { - /* Enable auto-resume functionality only during host - * mode bus suspend with some peripheral connected. + /* Enable auto-resume functionality during host mode + * bus suspend with some FS/HS peripheral connected. */ if ((phy->phy.flags & PHY_HOST_MODE) && - ((phy->phy.flags & PHY_HSFS_MODE) || - (phy->phy.flags & PHY_LS_MODE))) { + (phy->phy.flags & PHY_HSFS_MODE)) { /* Enable auto-resume functionality by pulsing * signal */