diff mbox series

[v1] phy: qcom-qmp: Drop useless msm8998_pciephy_cfg setting

Message ID 5ed5df09-1335-127e-3624-6d1a883b5a54@free.fr (mailing list archive)
State Accepted
Headers show
Series [v1] phy: qcom-qmp: Drop useless msm8998_pciephy_cfg setting | expand

Commit Message

Marc Gonzalez June 13, 2019, 11:05 a.m. UTC
'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>
---
This was a relic from copying msm8996_pciephy_cfg
---
 drivers/phy/qualcomm/phy-qcom-qmp.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c
index 43abdfd0deed..bb522b915fa9 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp.c
@@ -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 = {