Re: [PATCH] Bluetooth: hci_h5: fix usage_count leak when autosuspend_delay is negative
| Newsgroups | org.kernel.vger.linux-bluetooth,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Message-ID | <178647902588.1134064.14529193736524382598.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>: 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