]> Git Repo - linux.git/commitdiff
phy: qcom-qmp: another fix for the sc8180x PCIe definition
authorDmitry Baryshkov <[email protected]>
Wed, 20 Oct 2021 15:56:04 +0000 (18:56 +0300)
committerVinod Koul <[email protected]>
Tue, 26 Oct 2021 11:06:23 +0000 (16:36 +0530)
Commit f839f14e24f2 ("phy: qcom-qmp: Add sc8180x PCIe support") added
SC8180X PCIe tables, but used sm8250_qmp_pcie_serdes_tbl as a serdes
table because of the copy paste error. Commit bfccd9a71a08 ("phy:
qcom-qmp: Fix sc8180x PCIe definition") corrected part of this mistake
by pointing serdes_tbl to sc8180x_qmp_pcie_serdes_tbl, however the
serdes_tbl_num field was not updated to use sc8180x table. So let's now
fix the serdes_tbl_num field too.

Fixes: bfccd9a71a08 ("phy: qcom-qmp: Fix sc8180x PCIe definition")
Signed-off-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
drivers/phy/qualcomm/phy-qcom-qmp.c

index 32123a60be97894ad220e4c3623a63522cc0d976..456a59d8c7d047ae17629107e6360f02d08cd888 100644 (file)
@@ -3745,7 +3745,7 @@ static const struct qmp_phy_cfg sc8180x_pciephy_cfg = {
        .nlanes = 1,
 
        .serdes_tbl             = sc8180x_qmp_pcie_serdes_tbl,
-       .serdes_tbl_num         = ARRAY_SIZE(sm8250_qmp_pcie_serdes_tbl),
+       .serdes_tbl_num         = ARRAY_SIZE(sc8180x_qmp_pcie_serdes_tbl),
        .tx_tbl                 = sc8180x_qmp_pcie_tx_tbl,
        .tx_tbl_num             = ARRAY_SIZE(sc8180x_qmp_pcie_tx_tbl),
        .rx_tbl                 = sc8180x_qmp_pcie_rx_tbl,
This page took 0.069233 seconds and 4 git commands to generate.