mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
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,
|