summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFelix Gu <ustc.gu@gmail.com>2026-06-05 14:57:20 +0300
committerVinod Koul <vkoul@kernel.org>2026-06-11 18:27:07 +0300
commit799e7cf2f0b50b34660b5ffce0f7d8dec376a0d5 (patch)
tree27bc8786397c5cd3aa709b396a421fcbf8fb99e1 /scripts
parent609878c1b684ea3f77ab72237511eb9bec927102 (diff)
downloadlinux-799e7cf2f0b50b34660b5ffce0f7d8dec376a0d5.tar.xz
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: 06ff622d61d2 ("phy: freescale: Add i.MX8qm Mixel LVDS PHY support") Acked-by: Liu Ying <victor.liu@nxp.com> Signed-off-by: Felix Gu <ustc.gu@gmail.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260605-lvds-v2-1-3ce7539d1104@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions