Re: [PATCH] Bluetooth: btmtksdio: Fix PM runtime reference leak in shutdown

From: patchwork-bot+bluetooth

Date: Mon Sep 14 2026 - 13:18:06 EST


Hello:

This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:

On Mon, 14 Sep 2026 09:47:29 +0000 you wrote:
> In btmtksdio_shutdown(), pm_runtime_get_sync() is called at the
> beginning of the function. However, if sending the WMT function
> control command fails later, the driver returns early.
>
> It bypasses the corresponding pm_runtime_put_noidle() and
> pm_runtime_disable() calls, leaking the PM usage counter and leaving PM
> runtime enabled indefinitely.
>
> [...]

Here is the summary with links:
- Bluetooth: btmtksdio: Fix PM runtime reference leak in shutdown
https://git.kernel.org/bluetooth/bluetooth-next/c/d8dd59bd6fd3

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html