1 |
commit: 50522221fefb61988b4c71bc07bd33fbcb015076 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 26 13:22:39 2021 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 26 13:22:39 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=50522221 |
7 |
|
8 |
Remove redundant patch |
9 |
|
10 |
2010_btusb-rome-firmware-error-fix.patch |
11 |
|
12 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
13 |
|
14 |
0000_README | 4 --- |
15 |
2010_btusb-rome-firmware-error-fix.patch | 50 -------------------------------- |
16 |
2 files changed, 54 deletions(-) |
17 |
|
18 |
diff --git a/0000_README b/0000_README |
19 |
index 0f03575..19abff2 100644 |
20 |
--- a/0000_README |
21 |
+++ b/0000_README |
22 |
@@ -131,10 +131,6 @@ Patch: 2000_BT-Check-key-sizes-only-if-Secure-Simple-Pairing-enabled.patch |
23 |
From: https://lore.kernel.org/linux-bluetooth/20190522070540.48895-1-marcel@××××××××.org/raw |
24 |
Desc: Bluetooth: Check key sizes only when Secure Simple Pairing is enabled. See bug #686758 |
25 |
|
26 |
-Patch: 2010_BT-btusb-rome-firmware-error-fix.patch |
27 |
-From: https://www.spinics.net/lists/linux-bluetooth/msg90197.html |
28 |
-Desc: Bluetooth: btusb: Some Qualcomm Bluetooth adapters stop working |
29 |
- |
30 |
Patch: 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch |
31 |
From: https://bugs.gentoo.org/710790 |
32 |
Desc: tmp513 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #710790. Thanks to Phil Stracchino |
33 |
|
34 |
diff --git a/2010_btusb-rome-firmware-error-fix.patch b/2010_btusb-rome-firmware-error-fix.patch |
35 |
deleted file mode 100644 |
36 |
index 91c18b7..0000000 |
37 |
--- a/2010_btusb-rome-firmware-error-fix.patch |
38 |
+++ /dev/null |
39 |
@@ -1,50 +0,0 @@ |
40 |
-From 234f414efd1164786269849b4fbb533d6c9cdbbf Mon Sep 17 00:00:00 2001 |
41 |
-From: Hui Wang <hui.wang@×××××××××.com> |
42 |
-Date: Mon, 8 Feb 2021 13:02:37 +0800 |
43 |
-Subject: Bluetooth: btusb: Some Qualcomm Bluetooth adapters stop working |
44 |
- |
45 |
-This issue starts from linux-5.10-rc1, I reproduced this issue on my |
46 |
-Dell Inspiron 7447 with BT adapter 0cf3:e005, the kernel will print |
47 |
-out: "Bluetooth: hci0: don't support firmware rome 0x31010000", and |
48 |
-someone else also reported the similar issue to bugzilla #211571. |
49 |
- |
50 |
-I found this is a regression introduced by 'commit b40f58b97386 |
51 |
-("Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support"), the |
52 |
-patch assumed that if high ROM version is not zero, it is an adapter |
53 |
-on WCN6855, but many old adapters don't need to load rampatch or nvm, |
54 |
-and they have non-zero high ROM version. |
55 |
- |
56 |
-To fix it, let the driver match the rom_version in the |
57 |
-qca_devices_table first, if there is no entry matched, check the |
58 |
-high ROM version, if it is not zero, we assume this adapter is ready |
59 |
-to work and no need to load rampatch and nvm like previously. |
60 |
- |
61 |
-BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=211571 |
62 |
-Fixes: b40f58b97386 ("Bluetooth: btusb: Add Qualcomm Bluetooth SoC WCN6855 support") |
63 |
-Signed-off-by: Hui Wang <hui.wang@×××××××××.com> |
64 |
-Signed-off-by: Marcel Holtmann <marcel@××××××××.org> |
65 |
---- |
66 |
- drivers/bluetooth/btusb.c | 7 +++++++ |
67 |
- 1 file changed, 7 insertions(+) |
68 |
- |
69 |
-diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c |
70 |
-index 9c6836ee3c9b3..52683fd22e050 100644 |
71 |
---- a/drivers/bluetooth/btusb.c |
72 |
-+++ b/drivers/bluetooth/btusb.c |
73 |
-@@ -4273,6 +4273,13 @@ static int btusb_setup_qca(struct hci_dev *hdev) |
74 |
- info = &qca_devices_table[i]; |
75 |
- } |
76 |
- if (!info) { |
77 |
-+ /* If the rom_version is not matched in the qca_devices_table |
78 |
-+ * and the high ROM version is not zero, we assume this chip no |
79 |
-+ * need to load the rampatch and nvm. |
80 |
-+ */ |
81 |
-+ if (ver_rom & ~0xffffU) |
82 |
-+ return 0; |
83 |
-+ |
84 |
- bt_dev_err(hdev, "don't support firmware rome 0x%x", ver_rom); |
85 |
- return -ENODEV; |
86 |
- } |
87 |
--- |
88 |
-cgit 1.2.3-1.el7 |
89 |
- |