Linux-PHY Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] phy: starfive: Fix JH7110 DPHY runtime PM cleanup
@ 2026-07-18  9:00 Can Peng
  2026-07-18  9:00 ` [PATCH v2 1/2] phy: starfive: Fix runtime PM cleanup in JH7110 DPHY TX probe Can Peng
  2026-07-18  9:00 ` [PATCH v2 2/2] phy: starfive: Fix runtime PM cleanup in JH7110 DPHY RX probe Can Peng
  0 siblings, 2 replies; 5+ messages in thread
From: Can Peng @ 2026-07-18  9:00 UTC (permalink / raw)
  To: jack.zhu, changhuang.liang, keith.zhao, vkoul, neil.armstrong
  Cc: linux-phy, linux-kernel, Can Peng

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

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-07-18  9:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-18  9:00 [PATCH v2 0/2] phy: starfive: Fix JH7110 DPHY runtime PM cleanup Can Peng
2026-07-18  9:00 ` [PATCH v2 1/2] phy: starfive: Fix runtime PM cleanup in JH7110 DPHY TX probe Can Peng
2026-07-18  9:11   ` sashiko-bot
2026-07-18  9:00 ` [PATCH v2 2/2] phy: starfive: Fix runtime PM cleanup in JH7110 DPHY RX probe Can Peng
2026-07-18  9:10   ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox