mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| phy-fsl-imx8-mipi-dphy.c | ||
| phy-fsl-imx8m-pcie.c | ||
| phy-fsl-imx8mq-usb.c | ||
| phy-fsl-imx8qm-hsio.c | ||
| phy-fsl-imx8qm-lvds-phy.c | ||
| phy-fsl-lynx-10g.c | ||
| phy-fsl-lynx-28g.c | ||
| phy-fsl-lynx-core.c | ||
| phy-fsl-lynx-core.h | ||
| phy-fsl-samsung-hdmi.c | ||