Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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>

authored by

Bjorn Andersson and committed by
Vinod Koul
bfccd9a7 d6451924

+1 -1
+1 -1
drivers/phy/qualcomm/phy-qcom-qmp.c
··· 3510 3510 .type = PHY_TYPE_PCIE, 3511 3511 .nlanes = 1, 3512 3512 3513 - .serdes_tbl = sm8250_qmp_pcie_serdes_tbl, 3513 + .serdes_tbl = sc8180x_qmp_pcie_serdes_tbl, 3514 3514 .serdes_tbl_num = ARRAY_SIZE(sm8250_qmp_pcie_serdes_tbl), 3515 3515 .tx_tbl = sc8180x_qmp_pcie_tx_tbl, 3516 3516 .tx_tbl_num = ARRAY_SIZE(sc8180x_qmp_pcie_tx_tbl),