OSDN Git Service

phy: qcom-qmp-pcie: sc8180x PCIe PHY has 2 lanes
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 31 Mar 2023 15:12:49 +0000 (18:12 +0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 10 Apr 2023 15:18:00 +0000 (20:48 +0530)
All PCIe PHYs on sc8180x platform have 2 lanes, so change the number of
lanes to 2.

Fixes: f839f14e24f2 ("phy: qcom-qmp: Add sc8180x PCIe support")
Cc: stable@vger.kernel.org # 5.15
Sgned-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230331151250.4049-1-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c

index b1e8153..f378c1e 100644 (file)
@@ -2331,7 +2331,7 @@ static const struct qmp_phy_cfg msm8998_pciephy_cfg = {
 };
 
 static const struct qmp_phy_cfg sc8180x_pciephy_cfg = {
-       .lanes                  = 1,
+       .lanes                  = 2,
 
        .tbls = {
                .serdes         = sc8180x_qmp_pcie_serdes_tbl,