Bluetooth: btmtksdio: Fix wakeup source leaks on device unbind
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 6 Apr 2025 20:10:17 +0000 (22:10 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 21 May 2025 14:27:36 +0000 (10:27 -0400)
commitee3e4209e66d44180a41d5ca7271361a2a28fccf
tree18bbef65199502f546177e0257eeeffe399a2cc2
parentba6535e8b494931471df9666addf0f1e5e6efa27
Bluetooth: btmtksdio: Fix wakeup source leaks on device unbind

Device can be unbound or probe can fail, so driver must also release
memory for the wakeup source.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btmtksdio.c