linux-stable/drivers/phy
Fabrice Gasnier 52537ea892 phy: stm32: fix error return in stm32_usbphyc_phy_init
[ Upstream commit 32b378a917 ]

Error code is overridden, in case the PLL doesn't lock. So, the USB
initialization can continue. This leads to a platform freeze.
This can be avoided by returning proper error code to avoid USB probe
freezing the platform. It also displays proper errors in log.

Fixes: 5b1af71280 ("phy: stm32: rework PLL Lock detection")
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/20220713133953.595134-1-fabrice.gasnier@foss.st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-17 14:23:52 +02:00
..
allwinner
amlogic phy: amlogic: fix error path in phy_g12a_usb3_pcie_probe() 2022-05-09 09:14:34 +02:00
broadcom phy: phy-brcm-usb: fixup BCM4908 support 2022-04-08 14:23:46 +02:00
cadence phy: cadence: Sierra: Fix to get correct parent for mux clocks 2022-01-27 11:04:16 +01:00
freescale
hisilicon
ingenic
intel
lantiq
marvell
mediatek phy: phy-mtk-tphy: Fix duplicated argument in phy-mtk-tphy 2022-02-23 12:03:17 +01:00
microchip phy: Sparx5 Eth SerDes: Fix return value check in sparx5_serdes_probe() 2021-11-18 19:16:56 +01:00
motorola phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe 2022-05-09 09:14:33 +02:00
mscc
qualcomm phy: qcom-qmp: fix pipe-clock imbalance on power-on failure 2022-06-14 18:36:06 +02:00
ralink
renesas
rockchip phy: dphy: Correct clk_pre parameter 2022-02-16 12:56:23 +01:00
samsung phy: samsung: exynosautov9-ufs: correct TSRV register configurations 2022-08-17 14:23:40 +02:00
socionext phy: uniphier-usb3ss: fix unintended writing zeros to PHY register 2022-01-27 11:04:16 +01:00
st phy: stm32: fix error return in stm32_usbphyc_phy_init 2022-08-17 14:23:52 +02:00
tegra
ti phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe 2022-05-09 09:14:33 +02:00
xilinx phy: xilinx: zynqmp: Fix bus width setting for SGMII 2022-02-16 12:56:22 +01:00
Kconfig
Makefile
phy-can-transceiver.c
phy-core-mipi-dphy.c phy: dphy: Correct lpx parameter and its derivatives(ta_{get,go,sure}) 2022-04-08 14:23:46 +02:00
phy-core.c
phy-lgm-usb.c
phy-lpc18xx-usb-otg.c
phy-pistachio-usb.c
phy-xgene.c