Files
erofs-linux/drivers/phy/freescale
Felix Gu 799e7cf2f0 phy: freescale: phy-fsl-imx8qm-lvds-phy: Fix missing pm_runtime_disable() on probe error path
If mixel_lvds_phy_reset() fails in probe after pm_runtime_enable(),
the function returns directly without calling pm_runtime_disable(),
leaving runtime PM permanently enabled for the device.

Fix this by using devm_pm_runtime_enable() so that cleanup is
automatic on any probe failure or driver unbind. This also allows
removing the manual err label and the .remove callback.

Fixes: 06ff622d61 ("phy: freescale: Add i.MX8qm Mixel LVDS PHY support")
Acked-by: Liu Ying <[email protected]>
Signed-off-by: Felix Gu <[email protected]>
Reviewed-by: Frank Li <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
2026-06-11 20:57:07 +05:30
..
2026-06-11 12:39:47 +05:30
2026-06-11 12:39:47 +05:30
2026-06-11 12:39:47 +05:30
2026-06-11 12:39:47 +05:30
2026-06-11 12:39:47 +05:30