[PATCH v2 0/2] phy: starfive: Fix JH7110 DPHY runtime PM cleanup

Can Peng posted 2 patches 6 days, 18 hours ago
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(-)
[PATCH v2 0/2] phy: starfive: Fix JH7110 DPHY runtime PM cleanup
Posted by Can Peng 6 days, 18 hours ago
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
Re: [PATCH v2 0/2] phy: starfive: Fix JH7110 DPHY runtime PM cleanup
Posted by Vinod Koul 4 days, 16 hours ago
On Sat, 18 Jul 2026 17:00:52 +0800, Can Peng wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/2] phy: starfive: Fix runtime PM cleanup in JH7110 DPHY TX probe
      commit: f40b0241f3a382e99c14de2f28f14a44973407c1
[2/2] phy: starfive: Fix runtime PM cleanup in JH7110 DPHY RX probe
      commit: 97bed336f6a25c9d1115ca95e3aa00e05c3bc271

Best regards,
-- 
~Vinod