[net-next,PATCH 0/1] Fix pm_runtime for stmac_main

From: Christophe Roullier

Date: Mon Aug 10 2026 - 11:22:51 EST


Fix an error during ethernet probe (deferred because IOExpander used for
Reset Ethernet of STM32MP13-DK is not ready).
The pb is the Ethernet probe initialize pm-runtime but when error occur
and exit from probe there is no deinit of pm-runtime so when the reprobe
is called (after init of IOExpander) pm-runtime is already enable and
the balance between "put" and "get" is not symmetric, so Ethernet genpd
is always active.

Already review on series pushed on :
18/02/2026 https://lkml.iu.edu/2602.2/02822.html,
and 04/08/2026 https://lkml.iu.edu/2608.0/08550.html

Christophe Roullier (1):
net: stmmac: Fix manage error case during stmmac_dvr_probe

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 2 ++
1 file changed, 2 insertions(+)

--
2.43.0