[PATCH v7 3/9] phy: rockchip-samsung-dcphy: Unwind power-on on PLL lock failure

sashiko-bot at kernel.org sashiko-bot at kernel.org
Tue Nov 17 22:02:04 PST 2026


Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] phy: rockchip-samsung-dcphy: missing Fixes trailer for PLL lock
  unwind
--

commit 6c4b17f61ef61ed9fbe1eb97449b228aaba3f155
Author: Jason Yang <jason98166 at gmail.com>

> phy: rockchip-samsung-dcphy: Unwind power-on on PLL lock failure
>
> samsung_mipi_dphy_power_on() returns on a PLL lock timeout with PLL_EN
> set and m_phy_rst still asserted, and the PHY core does not call
> power_off after a failed power_on.
>
> Today the APB reset at the start of the next power_on cleans this up.
>
> A later change moves that reset to runtime resume, so the leftover
> PLL_EN would stay set, and regmap_update_bits() would not even write
> it again.
>
> Unwind the power-on before returning the error.
>
> Reported-by: Sashiko <sashiko-bot at kernel.org>
> Closes: https://lore.kernel.org/linux-phy/sashiko-outbox-174059@kernel.org/
> Signed-off-by: Jason Yang <jason98166 at gmail.com>
> Reviewed-by: Michael Riesch <michael.riesch at collabora.com>
> Tested-by: Quentin Schulz <quentin.schulz at cherry.de> # RK3588 Tiger CSI1 2-lane IMX219, CSI0 2-lane OV5675+DSI

[Severity: Low]
This fixes the incomplete error path in samsung_mipi_dphy_power_on().
Should this include:

  Fixes: b2a1a2ae7818 ("phy: rockchip: Add Samsung MIPI D-/C-PHY driver")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261118-dcphy-rx-v1-v7-0-8de1adac3a74@gmail.com?part=3



More information about the linux-phy mailing list