[PATCH v2 0/2] phy: starfive: Fix JH7110 DPHY runtime PM cleanup
Can Peng
pengcan at kylinos.cn
Sat Jul 18 02:00:52 PDT 2026
The JH7110 DPHY TX and RX drivers both enable runtime PM during probe
without arranging for it to be disabled on later probe failures or on
driver unbind.
Use devm_pm_runtime_enable() in both drivers so the runtime PM state is
cleaned up automatically when probe fails after runtime PM has been
enabled and when the driver is unbound.
Changes in v2:
- Turn the single TX fix into a two-patch series.
- Add the matching runtime PM cleanup fix for the RX driver.
Can Peng (2):
phy: starfive: Fix runtime PM cleanup in JH7110 DPHY TX probe
phy: starfive: Fix runtime PM cleanup in JH7110 DPHY RX probe
drivers/phy/starfive/phy-jh7110-dphy-rx.c | 5 ++++-
drivers/phy/starfive/phy-jh7110-dphy-tx.c | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
--
2.53.0
More information about the linux-phy
mailing list