[PATCH] Bluetooth: btmtksdio: Fix PM runtime reference leak in shutdown
patchwork-bot+bluetooth at kernel.org
patchwork-bot+bluetooth at kernel.org
Mon Sep 14 07:30:08 PDT 2026
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz at intel.com>:
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
More information about the Linux-mediatek
mailing list