Bluetooth: btsdio: Do not bind to non-removable BCM4345 and BCM43455
authorKyle Copperfield <kmcopper@danwin1210.me>
Wed, 20 Oct 2021 13:00:22 +0000 (13:00 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 20 Oct 2021 13:04:13 +0000 (15:04 +0200)
BCM4345 and BCM43455 devices soldered onto the PCB (non-removable),
use an UART connection for Bluetooth, such as in the Pinebook Pro,
and the advertised btsdio support as an SDIO function is ignored.

Reviewed-by: Dragan Simic <dragan.simic@gmail.com>
Signed-off-by: Kyle Copperfield <kmcopper@danwin1210.me>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btsdio.c

index 199e8f7..795be33 100644 (file)
@@ -295,6 +295,8 @@ static int btsdio_probe(struct sdio_func *func,
                switch (func->device) {
                case SDIO_DEVICE_ID_BROADCOM_43341:
                case SDIO_DEVICE_ID_BROADCOM_43430:
+               case SDIO_DEVICE_ID_BROADCOM_4345:
+               case SDIO_DEVICE_ID_BROADCOM_43455:
                case SDIO_DEVICE_ID_BROADCOM_4356:
                        return -ENODEV;
                }