Re: [PATCH] Bluetooth: hci_h5: fix usage_count leak when autosuspend_delay is negative

From: patchwork-bot+bluetooth

Date: Tue Aug 11 2026 - 16:16:28 EST


Hello:

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

On Sat, 8 Aug 2026 13:26:54 +0800 you wrote:
> h5_btrtl_open() calls pm_runtime_use_autosuspend(), but
> h5_btrtl_close() does not call the matching
> pm_runtime_dont_use_autosuspend() when tearing down runtime PM.
>
> If the autosuspend delay is set to a negative value while autosuspend
> is enabled, the runtime PM core increments usage_count to prevent
> runtime suspend. Without calling pm_runtime_dont_use_autosuspend()
> during driver teardown, this reference is not dropped and usage_count
> remains unbalanced.
>
> [...]

Here is the summary with links:
- Bluetooth: hci_h5: fix usage_count leak when autosuspend_delay is negative
https://git.kernel.org/bluetooth/bluetooth-next/c/9e257e358642

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