diff options
| author | Tim Harvey | 2024-12-17 22:51:57 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-02-09 22:25:46 +0000 |
| commit | fa64175e1ac66b63887fafe9916f4eb0698b9b18 (patch) | |
| tree | 12cedc714246fb6310b8e1c0b840a5391a356da8 | |
| parent | db30b60bf13b17d24b4d3643780d1658cac24974 (diff) | |
| download | openwrt-fa64175e1ac66b63887fafe9916f4eb0698b9b18.tar.gz | |
generic: 6.6: add backported btsdio patch for cyw437
Add a backport of a btsdio patch for the cyw437 bluetooth controller.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Link: https://github.com/openwrt/openwrt/pull/17717
Signed-off-by: Robert Marko <robimarko@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17762
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit c9f11523dd5b8639b24b97043d70f2a197a00a84)
| -rw-r--r-- | target/linux/generic/backport-6.6/903-v6.12-Bluetooth-btsdio-Do-not-bind-to-non-removable-CYW437.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/generic/backport-6.6/903-v6.12-Bluetooth-btsdio-Do-not-bind-to-non-removable-CYW437.patch b/target/linux/generic/backport-6.6/903-v6.12-Bluetooth-btsdio-Do-not-bind-to-non-removable-CYW437.patch new file mode 100644 index 0000000000..09c3938ff5 --- /dev/null +++ b/target/linux/generic/backport-6.6/903-v6.12-Bluetooth-btsdio-Do-not-bind-to-non-removable-CYW437.patch @@ -0,0 +1,25 @@ +From 6a9eb32230f33ae273f6ffbabb0aaf560869816e Mon Sep 17 00:00:00 2001 +From: Scott Ehlert <ehlert@battelle.org> +Date: Mon, 29 Apr 2024 11:23:09 -0700 +Subject: [PATCH] Bluetooth: btsdio: Do not bind to non-removable CYW4373 + +CYW4373 devices soldered onto the PCB (non-removable), +use a UART connection for Bluetooth and the advertised btsdio +support as an SDIO function should be ignored. + +Signed-off-by: Scott Ehlert <ehlert@battelle.org> +Signed-off-by: Tim Harvey <tharvey@gateworks.com> +--- + drivers/bluetooth/btsdio.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/bluetooth/btsdio.c ++++ b/drivers/bluetooth/btsdio.c +@@ -295,6 +295,7 @@ static int btsdio_probe(struct sdio_func + case SDIO_DEVICE_ID_BROADCOM_4345: + case SDIO_DEVICE_ID_BROADCOM_43455: + case SDIO_DEVICE_ID_BROADCOM_4356: ++ case SDIO_DEVICE_ID_BROADCOM_CYPRESS_4373: + return -ENODEV; + } + } |