[PATCH v2 0/3] Bluetooth: btusb: fix wakeup irq devres lifetime

Johan Hovold posted 3 patches 2 months, 1 week ago
There is a newer version of this series
drivers/bluetooth/btusb.c | 50 +++++++++++++++++++++++++--------------
1 file changed, 32 insertions(+), 18 deletions(-)
[PATCH v2 0/3] Bluetooth: btusb: fix wakeup irq devres lifetime
Posted by Johan Hovold 2 months, 1 week ago
This series fixes a wakeup source leak and a (currently benign) OOB
wakeup interrupt devres lifetime issue.

Included is also a related cleanup.

Note that these are intended for 7.1 (e.g. as the fixes are not
critical) and apply on top of linux-next which has commit 2db5a8b68e31
("Bluetooth: btusb: refactor endpoint lookup").

Johan


Changes in v2:
 - fix wakeup source leak (new patch)
 - fix disconnect-while-suspended issue by making interrupt non-managed
 - amend devres lifetime fix commit message with a reference to changed
   devres behaviour
 - clean up error handling (new patch)


Johan Hovold (3):
  Bluetooth: btusb: fix wakeup source leak on probe failure
  Bluetooth: btusb: fix wakeup irq devres lifetime
  Bluetooth: btusb: clean up probe error handling

 drivers/bluetooth/btusb.c | 50 +++++++++++++++++++++++++--------------
 1 file changed, 32 insertions(+), 18 deletions(-)

-- 
2.52.0
Re: [PATCH v2 0/3] Bluetooth: btusb: fix wakeup irq devres lifetime
Posted by Johan Hovold 2 months, 1 week ago
On Thu, Apr 02, 2026 at 11:27:01AM +0200, Johan Hovold wrote:
> This series fixes a wakeup source leak and a (currently benign) OOB
> wakeup interrupt devres lifetime issue.
> 
> Included is also a related cleanup.
> 
> Note that these are intended for 7.1 (e.g. as the fixes are not
> critical) and apply on top of linux-next which has commit 2db5a8b68e31
> ("Bluetooth: btusb: refactor endpoint lookup").

> Changes in v2:
>  - fix wakeup source leak (new patch)
>  - fix disconnect-while-suspended issue by making interrupt non-managed
>  - amend devres lifetime fix commit message with a reference to changed
>    devres behaviour
>  - clean up error handling (new patch)

> Johan Hovold (3):
>   Bluetooth: btusb: fix wakeup source leak on probe failure
>   Bluetooth: btusb: fix wakeup irq devres lifetime
>   Bluetooth: btusb: clean up probe error handling

Sashiko reported two pre-existing bugs related to these paths and I can
can take a look at fixing those as part of this series:

	https://sashiko.dev/#/message/20260402092704.2346710-2-johan%40kernel.org

So please hold off with applying this one for a bit.

Johan