Skip to content

Commit fe3ec76

Browse files
lumagvinodkoul
authored andcommitted
phy: qcom: qmp-usbc: drop has_pwrdn_delay handling
None of the PHYs supported by the USBC driver need power down delay. Drop corresponding flag and code. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Link: https://lore.kernel.org/r/20240126-phy-qmp-merge-common-v2-6-a463d0b57836@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent c01e03f commit fe3ec76

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

drivers/phy/qualcomm/phy-qcom-qmp-usbc.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,6 @@ struct qmp_phy_cfg {
315315

316316
/* array of registers with different offsets */
317317
const unsigned int *regs;
318-
319-
/* true, if PHY needs delay after POWER_DOWN */
320-
bool has_pwrdn_delay;
321318
};
322319

323320
struct qmp_usbc {
@@ -546,9 +543,6 @@ static int qmp_usbc_power_on(struct phy *phy)
546543

547544
qmp_configure(qmp->pcs, cfg->pcs_tbl, cfg->pcs_tbl_num);
548545

549-
if (cfg->has_pwrdn_delay)
550-
usleep_range(10, 20);
551-
552546
/* Pull PHY out of reset state */
553547
qphy_clrbits(qmp->pcs, cfg->regs[QPHY_SW_RESET], SW_RESET);
554548

0 commit comments

Comments
 (0)