From: Vinod Koul <vkoul@kernel.org>
To: dmaengine@vger.kernel.org, Ruoyu Wang <ruoyuw560@gmail.com>
Cc: Frank.Li@kernel.org, orsonzhai@gmail.com,
baolin.wang@linux.alibaba.com, zhang.lyra@gmail.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dmaengine: sprd: Fix runtime PM reference leak in probe
Date: Thu, 03 Sep 2026 21:59:30 +0530 [thread overview]
Message-ID: <178845297038.1679748.17132954988792576970.b4-ty@kernel.org> (raw)
In-Reply-To: <20260813153149.3953497-1-ruoyuw560@gmail.com>
On Thu, 13 Aug 2026 23:31:49 +0800, Ruoyu Wang wrote:
> pm_runtime_get_sync() increments a device's usage counter even when it
> fails. sprd_dma_probe() currently jumps directly to controller clock
> cleanup on that error, bypassing both pm_runtime_put_noidle() and
> pm_runtime_disable(). This can happen if the preceding unchecked
> pm_runtime_set_active() fails and the following runtime-resume attempt
> also returns an error.
>
> [...]
Applied, thanks!
[1/1] dmaengine: sprd: Fix runtime PM reference leak in probe
commit: a7df136ec529ee49a789c5029bc37b98b0d4bedd
Best regards,
--
~Vinod
prev parent reply other threads:[~2026-09-03 16:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-13 15:31 Ruoyu Wang
2026-08-14 0:35 ` Baolin Wang
2026-08-19 19:29 ` Frank Li
2026-09-03 16:29 ` Vinod Koul [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178845297038.1679748.17132954988792576970.b4-ty@kernel.org \
--to=vkoul@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=baolin.wang@linux.alibaba.com \
--cc=dmaengine@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=orsonzhai@gmail.com \
--cc=ruoyuw560@gmail.com \
--cc=zhang.lyra@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®