phy: qcom-qmp: Drop useless msm8998_pciephy_cfg setting
authorMarc Gonzalez <marc.w.gonzalez@free.fr>
Thu, 13 Jun 2019 11:05:31 +0000 (13:05 +0200)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 21 Jun 2019 05:21:58 +0000 (10:51 +0530)
'mask_com_pcs_ready' is only useful if 'has_phy_com_ctrl' is true.
Since msm8998_pciephy_cfg.has_phy_com_ctrl is false, let's drop
msm8998_pciephy_cfg.mask_com_pcs_ready altogether.

Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/qualcomm/phy-qcom-qmp.c

index 43abdfd0deed932acd08cc68ff6a8296719e0619..bb522b915fa9cbdd7f1c5de615c5e3cfae0cdbd2 100644 (file)
@@ -1255,7 +1255,6 @@ static const struct qmp_phy_cfg msm8998_pciephy_cfg = {
        .start_ctrl             = SERDES_START | PCS_START,
        .pwrdn_ctrl             = SW_PWRDN | REFCLK_DRV_DSBL,
        .mask_pcs_ready         = PHYSTATUS,
-       .mask_com_pcs_ready     = PCS_READY,
 };
 
 static const struct qmp_phy_cfg msm8998_usb3phy_cfg = {