Patch "phy: qcom-qmp: another fix for the sc8180x PCIe definition" has been added to the 5.15-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    phy: qcom-qmp: another fix for the sc8180x PCIe definition

to the 5.15-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     phy-qcom-qmp-another-fix-for-the-sc8180x-pcie-defini.patch
and it can be found in the queue-5.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 8bdc11637a781edea594c5cea07915ef4fb5ae16
Author: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
Date:   Wed Oct 20 18:56:04 2021 +0300

    phy: qcom-qmp: another fix for the sc8180x PCIe definition
    
    [ Upstream commit 26f71abef580537d978f6299330689f029ee1e6c ]
    
    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@xxxxxxxxxx>
    Reviewed-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20211020155604.1374530-1-dmitry.baryshkov@xxxxxxxxxx
    Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/phy/qualcomm/phy-qcom-qmp.c b/drivers/phy/qualcomm/phy-qcom-qmp.c
index f14032170b1c1..06b04606dd7ea 100644
--- a/drivers/phy/qualcomm/phy-qcom-qmp.c
+++ b/drivers/phy/qualcomm/phy-qcom-qmp.c
@@ -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,



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux