mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
phy: qcom-qmp: another fix for the sc8180x PCIe definition
[ Upstream commit26f71abef5
] Commitf839f14e24
("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. Commitbfccd9a71a
("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:bfccd9a71a
("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
69cd3bdff8
commit
9999e3d711
@ -3632,7 +3632,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,
|
||||
|
Loading…
Reference in New Issue
Block a user