phy: qcom-qmp: drop dual-lane comments
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 6 Sep 2022 07:45:50 +0000 (09:45 +0200)
committerVinod Koul <vkoul@kernel.org>
Tue, 13 Sep 2022 14:53:36 +0000 (20:23 +0530)
Drop the obsolete and misleading dual-lane comments which gave the
impression that only combo PHYs have a second lane.

Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20220906074550.4383-4-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-combo.c
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
drivers/phy/qualcomm/phy-qcom-qmp-usb.c

index d200cd5..af608c4 100644 (file)
@@ -2139,7 +2139,6 @@ static int qcom_qmp_phy_combo_power_on(struct phy *phy)
        qcom_qmp_phy_combo_configure_lane(tx, cfg->regs,
                                    cfg->tx_tbl, cfg->tx_tbl_num, 1);
 
-       /* Configuration for other LANE for USB-DP combo PHY */
        if (cfg->is_dual_lane_phy) {
                qcom_qmp_phy_combo_configure_lane(qphy->tx2, cfg->regs,
                                            cfg->tx_tbl, cfg->tx_tbl_num, 2);
index 3766a6d..2923977 100644 (file)
@@ -2036,7 +2036,6 @@ static int qmp_pcie_power_on(struct phy *phy)
        qmp_pcie_configure_lane(tx, cfg->regs, cfg->tx_tbl, cfg->tx_tbl_num, 1);
        qmp_pcie_configure_lane(tx, cfg->regs, cfg->tx_tbl_sec, cfg->tx_tbl_num_sec, 1);
 
-       /* Configuration for other LANE for USB-DP combo PHY */
        if (cfg->is_dual_lane_phy) {
                qmp_pcie_configure_lane(qphy->tx2, cfg->regs, cfg->tx_tbl,
                                        cfg->tx_tbl_num, 2);
index c8583f5..01a99a0 100644 (file)
@@ -1020,7 +1020,6 @@ static int qcom_qmp_phy_ufs_power_on(struct phy *phy)
        qcom_qmp_phy_ufs_configure_lane(tx, cfg->regs,
                                    cfg->tx_tbl, cfg->tx_tbl_num, 1);
 
-       /* Configuration for other LANE for USB-DP combo PHY */
        if (cfg->is_dual_lane_phy) {
                qcom_qmp_phy_ufs_configure_lane(qphy->tx2, cfg->regs,
                                            cfg->tx_tbl, cfg->tx_tbl_num, 2);
index 59ed6c8..fba8e40 100644 (file)
@@ -2283,7 +2283,6 @@ static int qcom_qmp_phy_usb_power_on(struct phy *phy)
        qcom_qmp_phy_usb_configure_lane(tx, cfg->regs,
                                    cfg->tx_tbl, cfg->tx_tbl_num, 1);
 
-       /* Configuration for other LANE for USB-DP combo PHY */
        if (cfg->is_dual_lane_phy) {
                qcom_qmp_phy_usb_configure_lane(qphy->tx2, cfg->regs,
                                            cfg->tx_tbl, cfg->tx_tbl_num, 2);