summarylogtreecommitdiffstats
path: root/0002-Bluetooth-btusb-Some-Qualcomm-Bluetooth-adapters-sto.patch
diff options
context:
space:
mode:
authorgraysky2021-02-26 18:47:02 -0500
committergraysky2021-02-26 18:47:02 -0500
commit07ba5c719e67db679ed643c98543a6308eac5e5e (patch)
treeb1c63a90825b96e43699c4b32778552cd708a3dc /0002-Bluetooth-btusb-Some-Qualcomm-Bluetooth-adapters-sto.patch
parent69107ec1a053ba3df2df6f5b60b2874f5cf6830c (diff)
downloadaur-07ba5c719e67db679ed643c98543a6308eac5e5e.tar.gz
Update to 5.11.2-1
Diffstat (limited to '0002-Bluetooth-btusb-Some-Qualcomm-Bluetooth-adapters-sto.patch')
-rw-r--r--0002-Bluetooth-btusb-Some-Qualcomm-Bluetooth-adapters-sto.patch51
1 files changed, 0 insertions, 51 deletions
diff --git a/0002-Bluetooth-btusb-Some-Qualcomm-Bluetooth-adapters-sto.patch b/0002-Bluetooth-btusb-Some-Qualcomm-Bluetooth-adapters-sto.patch
deleted file mode 100644
index 9f86092846e..00000000000
--- a/0002-Bluetooth-btusb-Some-Qualcomm-Bluetooth-adapters-sto.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 66b6d6c8306329134abeeb26d352f2074b2f0e1e Mon Sep 17 00:00:00 2001
-From: Hui Wang <hui.wang@canonical.com>
-Date: Mon, 8 Feb 2021 13:02:37 +0800
-Subject: [PATCH 2/5] Bluetooth: btusb: Some Qualcomm Bluetooth adapters stop
- working
-
-This issue starts from linux-5.10-rc1, I reproduced this issue on my
-Dell Inspiron 7447 with BT adapter 0cf3:e005, the kernel will print
-out: "Bluetooth: hci0: don't support firmware rome 0x31010000", and
-someone else also reported the similar issue to bugzilla #211571.
-
-I found this is a regression introduced by 'commit b40f58b97386
-("Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support"), the
-patch assumed that if high ROM version is not zero, it is an adapter
-on WCN6855, but many old adapters don't need to load rampatch or nvm,
-and they have non-zero high ROM version.
-
-To fix it, let the driver match the rom_version in the
-qca_devices_table first, if there is no entry matched, check the
-high ROM version, if it is not zero, we assume this adapter is ready
-to work and no need to load rampatch and nvm like previously.
-
-BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=211571
-Fixes: b40f58b97386 ("Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support")
-Signed-off-by: Hui Wang <hui.wang@canonical.com>
-Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
----
- drivers/bluetooth/btusb.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c
-index 03b83aa91277..32161dd40ed6 100644
---- a/drivers/bluetooth/btusb.c
-+++ b/drivers/bluetooth/btusb.c
-@@ -4069,6 +4069,13 @@ static int btusb_setup_qca(struct hci_dev *hdev)
- info = &qca_devices_table[i];
- }
- if (!info) {
-+ /* If the rom_version is not matched in the qca_devices_table
-+ * and the high ROM version is not zero, we assume this chip no
-+ * need to load the rampatch and nvm.
-+ */
-+ if (ver_rom & ~0xffffU)
-+ return 0;
-+
- bt_dev_err(hdev, "don't support firmware rome 0x%x", ver_rom);
- return -ENODEV;
- }
---
-2.30.1
-