phy: qcom-qmp: another fix for the sc8180x PCIe definition
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 20 Oct 2021 15:56:04 +0000 (18:56 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 26 Oct 2021 11:06:23 +0000 (16:36 +0530)
commit26f71abef580537d978f6299330689f029ee1e6c
treed68b85e4fba82ebbea0b3d11f743d31d489ebe50
parent785a4e688cd29adfe9a5f7a7d20f877f5b8ac4fa
phy: qcom-qmp: another fix for the sc8180x PCIe definition

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 <dmitry.baryshkov@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211020155604.1374530-1-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp.c