]> git.baikalelectronics.ru Git - kernel.git/commit
phy: qcom-qmp-pcie: fix sc8180x initialisation
authorJohan Hovold <johan+linaro@kernel.org>
Wed, 12 Oct 2022 08:49:43 +0000 (10:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:46 +0000 (13:32 +0100)
commitc74d340a25d288e32f5bea2c0af55590343326a6
tree079ada09b0edbcfb9042134935482742d5503973
parentca091238b92c114d12fae7560783db3ce5a2a246
phy: qcom-qmp-pcie: fix sc8180x initialisation

[ Upstream commit a254141e50dfa7ff5a73eaced00627e098e37048 ]

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: d3cdcb16a3a3 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c