[PATCH] phy: stm32: fix error return in stm32_usbphyc_phy_init

Vinod Koul vkoul at kernel.org
Fri Jul 15 04:34:32 PDT 2022


On 13-07-22, 15:39, Fabrice Gasnier wrote:
> 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.

Applied, thanks

-- 
~Vinod



More information about the linux-arm-kernel mailing list