diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2022-10-12 10:49:43 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-10-28 17:55:03 +0530 |
commit | 4a9eac5ae2200f1b208dd33738777f89f93dc0fe (patch) | |
tree | 84416dd1fea2d03bb91f43cfc408e5d28b1b0af6 /drivers | |
parent | 0983529d7513e5417a5010f70582e1040c404551 (diff) | |
download | linux-stable-4a9eac5ae2200f1b208dd33738777f89f93dc0fe.tar.gz linux-stable-4a9eac5ae2200f1b208dd33738777f89f93dc0fe.tar.bz2 linux-stable-4a9eac5ae2200f1b208dd33738777f89f93dc0fe.zip |
phy: qcom-qmp-pcie: fix sc8180x initialisation
The phy_status mask was never set for SC8180X which meant that the
driver would not wait for the PHY to be initialised during power-on and
would never detect PHY initialisation timeouts.
Fixes: f839f14e24f2 ("phy: qcom-qmp: Add sc8180x PCIe support")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20221012085002.24099-1-johan+linaro@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c b/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c index 151baa63e8e8..a7677b61f96e 100644 --- a/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c +++ b/drivers/phy/qualcomm/phy-qcom-qmp-pcie.c @@ -1733,6 +1733,7 @@ static const struct qmp_phy_cfg sc8180x_pciephy_cfg = { .start_ctrl = PCS_START | SERDES_START, .pwrdn_ctrl = SW_PWRDN | REFCLK_DRV_DSBL, + .phy_status = PHYSTATUS, }; static const struct qmp_phy_cfg sdx55_qmp_pciephy_cfg = { |