mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 10:39:04 +00:00
5e6e45b7ff
Make the firmware filenames referenced by the module consistent for v5.10 and v5.15 kernels. Backport two upstream patches a cleanup commit and the commit making the change, the former is required for the latter to apply cleanly. Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
From 9fd2e2949b43dea869f7fce0f8f51df44f635d59 Mon Sep 17 00:00:00 2001
|
|
From: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
|
|
Date: Fri, 28 May 2021 17:26:44 +0200
|
|
Subject: [PATCH] Bluetooth: btrtl: rename USB fw for RTL8761
|
|
|
|
According Realteks own BT drivers firmware RTL8761B is for UART
|
|
and RTL8761BU is for USB.
|
|
|
|
Change existing 8761B to UART and add an 8761BU entry for USB
|
|
|
|
Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
|
|
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
|
|
---
|
|
drivers/bluetooth/btrtl.c | 9 ++++++++-
|
|
1 file changed, 8 insertions(+), 1 deletion(-)
|
|
|
|
--- a/drivers/bluetooth/btrtl.c
|
|
+++ b/drivers/bluetooth/btrtl.c
|
|
@@ -116,12 +116,19 @@ static const struct id_table ic_id_table
|
|
.cfg_name = "rtl_bt/rtl8761a_config" },
|
|
|
|
/* 8761B */
|
|
- { IC_INFO(RTL_ROM_LMP_8761A, 0xb, 0xa, HCI_USB),
|
|
+ { IC_INFO(RTL_ROM_LMP_8761A, 0xb, 0xa, HCI_UART),
|
|
.config_needed = false,
|
|
.has_rom_version = true,
|
|
.fw_name = "rtl_bt/rtl8761b_fw.bin",
|
|
.cfg_name = "rtl_bt/rtl8761b_config" },
|
|
|
|
+ /* 8761BU */
|
|
+ { IC_INFO(RTL_ROM_LMP_8761A, 0xb, 0xa, HCI_USB),
|
|
+ .config_needed = false,
|
|
+ .has_rom_version = true,
|
|
+ .fw_name = "rtl_bt/rtl8761bu_fw.bin",
|
|
+ .cfg_name = "rtl_bt/rtl8761bu_config" },
|
|
+
|
|
/* 8822C with UART interface */
|
|
{ IC_INFO(RTL_ROM_LMP_8822B, 0xc, 0xa, HCI_UART),
|
|
.config_needed = true,
|