build/patch/kernel/archive/rockchip64-5.15/general-btsdio-ignore-uart-devs.patch

20 lines
723 B
Diff

Some UART BT devices wrongly present themselves as SDIO - probably
because their WiFi counterparts are SDIO based.
This leads to creating a non functional fantom hci0 device.
This happens with AP6256 seen on both ROCK Pi 4 and OrangePi 4.
diff --git a/drivers/bluetooth/btsdio.c b/drivers/bluetooth/btsdio.c
index 199e8f7d4..2edb53bfe 100644
--- a/drivers/bluetooth/btsdio.c
+++ b/drivers/bluetooth/btsdio.c
@@ -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;
}