The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [net-next,PATCH 0/1] Fix pm_runtime for stmac_main
@ 2026-08-10 15:07 Christophe Roullier
  2026-08-10 15:07 ` [net-next,PATCH 1/1] net: stmmac: Fix manage error case during stmmac_dvr_probe Christophe Roullier
  0 siblings, 1 reply; 4+ messages in thread
From: Christophe Roullier @ 2026-08-10 15:07 UTC (permalink / raw)
  To: Andrew Lunn, David S . Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Maxime Coquelin, Alexandre Torgue, Russell King,
	Maxime Chevallier, Vladimir Oltean, Christophe Roullier
  Cc: netdev, linux-stm32, linux-arm-kernel, linux-kernel

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


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

end of thread, other threads:[~2026-08-10 16:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-10 15:07 [net-next,PATCH 0/1] Fix pm_runtime for stmac_main Christophe Roullier
2026-08-10 15:07 ` [net-next,PATCH 1/1] net: stmmac: Fix manage error case during stmmac_dvr_probe Christophe Roullier
2026-08-10 16:04   ` Breno Leitao
2026-08-10 16:31   ` Breno Leitao

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