mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 06:33:34 +00:00
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>
This commit is contained in:
parent
c01e03f97c
commit
fe3ec7600a
@ -315,9 +315,6 @@ struct qmp_phy_cfg {
|
||||
|
||||
/* array of registers with different offsets */
|
||||
const unsigned int *regs;
|
||||
|
||||
/* true, if PHY needs delay after POWER_DOWN */
|
||||
bool has_pwrdn_delay;
|
||||
};
|
||||
|
||||
struct qmp_usbc {
|
||||
@ -546,9 +543,6 @@ static int qmp_usbc_power_on(struct phy *phy)
|
||||
|
||||
qmp_configure(qmp->pcs, cfg->pcs_tbl, cfg->pcs_tbl_num);
|
||||
|
||||
if (cfg->has_pwrdn_delay)
|
||||
usleep_range(10, 20);
|
||||
|
||||
/* Pull PHY out of reset state */
|
||||
qphy_clrbits(qmp->pcs, cfg->regs[QPHY_SW_RESET], SW_RESET);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user