phy: qcom-qmp: Fix sc8180x PCIe definition
authorBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 21 Jul 2021 16:30:29 +0000 (09:30 -0700)
committerVinod Koul <vkoul@kernel.org>
Thu, 22 Jul 2021 09:10:30 +0000 (14:40 +0530)
A copy paste error was snuck into the patch going upstream that made the
SC8180x PCIe PHY use the SM8250 serdes table, but while this works
there's some differences in the tables (and the SC8180x was left
dangling). So correct the SC8180x definition to use the SC8180x serdes
table.

Fixes: f839f14e24f2 ("phy: qcom-qmp: Add sc8180x PCIe support")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20210721163029.2813497-1-bjorn.andersson@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp.c

index 655bdef2614333da7197859f4251d92d05eb99d7..2195f8ac393b2e4df67d9f3c6416a679097983fd 100644 (file)
@@ -3510,7 +3510,7 @@ static const struct qmp_phy_cfg sc8180x_pciephy_cfg = {
        .type = PHY_TYPE_PCIE,
        .nlanes = 1,
 
-       .serdes_tbl             = sm8250_qmp_pcie_serdes_tbl,
+       .serdes_tbl             = sc8180x_qmp_pcie_serdes_tbl,
        .serdes_tbl_num         = ARRAY_SIZE(sm8250_qmp_pcie_serdes_tbl),
        .tx_tbl                 = sc8180x_qmp_pcie_tx_tbl,
        .tx_tbl_num             = ARRAY_SIZE(sc8180x_qmp_pcie_tx_tbl),