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

From: Xiangwu Lai

Date: Tue Dec 01 2026 - 02:50:45 EST


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@xxxxxxxxxxxxxxxxxxxx/

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