[PATCH] dmaengine: stm32-mdma: Fix runtime PM reference leak in pm_suspend()

Xiangwu Lai laixiangwu at cmss.chinamobile.com
Thu Nov 19 23:34:59 PST 2026


Hi Vinod,

gentle ping on this patch:

  [PATCH] dmaengine: stm32-mdma: Fix runtime PM reference leak in pm_suspend()
  https://lore.kernel.org/r/20261102104432.873-1-laixiangwu@cmss.chinamobile.com

stm32_mdma_pm_suspend() takes a runtime PM reference with
pm_runtime_resume_and_get() and returns -EBUSY without dropping it when
a channel is still enabled, so each aborted suspend leaks one
reference.  The patch adds the missing pm_runtime_put_sync() on the
-EBUSY path.

The patch carries both Reviewed-by tags since early November:

  Reviewed-by: Amelie Delaunay <amelie.delaunay at foss.st.com>
  Reviewed-by: Frank Li <Frank.Li at kernel.org>

The sibling fix for stm32-dma is pending on the same topic as well
(Reviewed-by: Amelie Delaunay and Frank Li):

  [PATCH] dmaengine: stm32-dma: Fix runtime PM reference leak in pm_suspend()
  https://lore.kernel.org/r/20261102104108.794-1-laixiangwu@cmss.chinamobile.com

Could these two be queued for the next merge window?

Thanks,
Xiangwu Lai





More information about the linux-arm-kernel mailing list