[PATCH] dmaengine: stm32-dma: Fix runtime PM reference leak in pm_suspend

Xiangwu Lai laixiangwu at cmss.chinamobile.com
Mon Nov 30 23:50:37 PST 2026


Hello Vinod,

A gentle ping on this patch, sent a month ago on Nov 2:

  dmaengine: stm32-dma: Fix runtime PM reference leak in pm_suspend
  https://lore.kernel.org/all/20261102104108.794-1-laixiangwu@cmss.chinamobile.com/

stm32_dma_pm_suspend() increments the runtime PM usage counter with
pm_runtime_resume_and_get(), but when a channel is still enabled it
returns -EBUSY without dropping the reference, so each failed suspend
attempt leaks one runtime PM reference and the device can never runtime
suspend afterwards.

The patch carries Reviewed-by from Amelie Delaunay (Nov 2) and
Frank Li (Nov 13).  The sister fix for stm32-mdma (34c8c2ea213a) has
already landed in mainline; could this one be queued as well?

Thanks,
Xiangwu Lai





More information about the linux-arm-kernel mailing list