summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Leemhuis <fedora@leemhuis.info>2021-03-04 12:26:01 +0100
committerThorsten Leemhuis <fedora@leemhuis.info>2021-03-04 12:26:01 +0100
commite0d4a0ad2fa9c0be9907bf845106fca95ecebe1e (patch)
tree839719c06522827a596c574bc4f8f9fe2d04ad3a
parentb9a05602ab1fc5e2df4a6526c3e6afc32b625586 (diff)
parent66907920968ff03f1d4d56ad065da0ae11837e6e (diff)
downloadkernel-e0d4a0ad2fa9c0be9907bf845106fca95ecebe1e.tar.gz
kernel-e0d4a0ad2fa9c0be9907bf845106fca95ecebe1e.tar.xz
kernel-e0d4a0ad2fa9c0be9907bf845106fca95ecebe1e.zip
Merge remote-tracking branch 'origin/f32' into f32-user-thl-vanilla-fedora
-rw-r--r--bluetooth-btusb-qca-fix.patch51
-rw-r--r--kernel.spec6
2 files changed, 3 insertions, 54 deletions
diff --git a/bluetooth-btusb-qca-fix.patch b/bluetooth-btusb-qca-fix.patch
deleted file mode 100644
index d770639a3..000000000
--- a/bluetooth-btusb-qca-fix.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 28ddef379ecc0ab1ae646f6442cfa839ab9a15b2 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 5.12 regression fix] 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 80468745d5c5..1c128de99abd 100644
---- a/drivers/bluetooth/btusb.c
-+++ b/drivers/bluetooth/btusb.c
-@@ -3693,6 +3693,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
-
diff --git a/kernel.spec b/kernel.spec
index 7c524843b..493a0bff9 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -875,9 +875,6 @@ Patch107: 0001-drm-nouveau-kms-handle-mDP-connectors.patch
Patch109: 0001-Revert-drm-amd-display-Update-NV1x-SR-latency-values.patch
-# rhbz 1916104 (patch from bluetooth-next)
-Patch110: bluetooth-btusb-qca-fix.patch
-
# rhbz 1925346
Patch111: i915-fixes.patch
@@ -2997,6 +2994,9 @@ fi
#
#
%changelog
+* Fri Feb 26 2021 Justin M. Forbes <jforbes@fedoraproject.org> - 5.10.19-100
+- Linux v5.10.19
+
* Thu Feb 25 2021 Justin M. Forbes <jforbes@fedoraproject.org>
- Some i915 fixes for 5.10 (rhbz 1925346)