From: Bjorn Andersson Date: Wed, 21 Jul 2021 16:30:29 +0000 (-0700) Subject: phy: qcom-qmp: Fix sc8180x PCIe definition X-Git-Tag: accepted/tizen/unified/20230118.172025~6526^2~6^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bfccd9a71a08627bcccd40277967516ddd9d5db2;p=platform%2Fkernel%2Flinux-rpi.git phy: qcom-qmp: Fix sc8180x PCIe definition 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 Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20210721163029.2813497-1-bjorn.andersson@linaro.org Signed-off-by: Vinod Koul --- diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c index 655bdef..2195f8a 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp.c @@ -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),