Re: [PATCH v3 2/3] phy: exynos5-usbdrd: return the Exynos2200 high-speed phy init error
From: Manivannan Sadhasivam
Date: Fri Nov 27 2026 - 08:52:43 EST
On 2026-11-14 06:44 +0000, Soheyb Boulaa wrote:
> exynos2200_usbdrd_utmi_init() ignores the result of phy_init() on the
> high-speed phy and returns 0. When the high-speed phy fails to
> initialize, the UTMI phy thus counts as initialized, and the controller
> goes on with a high-speed phy that is not set up.
>
> Return the result of phy_init(), so that a failed init of the
> high-speed phy fails the init of the UTMI phy. The next patch, which
> exits the high-speed phy with the UTMI phy, relies on it: an exit after
> a failed init would otherwise take the init count of the high-speed
> phy below zero.
>
> Fixes: cc52a697f87e ("phy: exynos5-usbdrd: support Exynos USBDRD 3.2 4nm controller")
> Reported-by: Sashiko <sashiko-bot@xxxxxxxxxx>
> Closes: https://lore.kernel.org/linux-phy/sashiko-outbox-205724@xxxxxxxxxx/
> Cc: stable@xxxxxxxxxxxxxxx
Drop the tag please.
> Signed-off-by: Soheyb Boulaa <soheyb_boulaa@xxxxxxxxx>
With tag dropped,
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
- Mani