Re: [PATCH v3 1/3] Bluetooth: hci_bcm4377: check hci_register_dev() for a negative return
From: Raymond Berger
Date: Sun Nov 29 2026 - 22:18:31 EST
This is my first time replying on the kernel lists, so please do tell
me if I'm doing anything wrong.
Tested on a MacBookAir9,1 (BCM4377) with an out-of-tree re-probe on
resume (linux-t2-patches PR 87 [1]). Without this patch, both resumes
I tried with A2DP audio streaming at suspend hit this bug: the
re-probe registered the controller as hci1, the PCI core logged
"Driver probe function unexpectedly returned 1", and BR/EDR stayed
dead (page timeouts) until reboot. Reloading the driver then oopsed in
bcm4377_enqueue() from hci1's hci_cmd_work, which looks like the stale
registration your commit message describes.
With this patch on top of PR 87, 11 of 11 such resumes worked, with
two different speakers; with the whole v3 series, 3 of 3 did.
[1] https://github.com/t2linux/linux-t2-patches/pull/87
Tested-by: Raymond Berger <ray.berger@xxxxxxxxxxx>
I used Claude Opus 5.5 to help run these tests and go through the
logs.