diff mbox series

[1/2] Bluetooth: btrtl: rename USB fw for RTL8761

Message ID 20210528164608.27941-1-joakim.tjernlund@infinera.com
State Superseded
Headers show
Series [1/2] Bluetooth: btrtl: rename USB fw for RTL8761 | expand

Commit Message

Joakim Tjernlund May 28, 2021, 4:46 p.m. UTC
From: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>

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>
Cc: stable@vger.kernel.org
---
 drivers/bluetooth/btrtl.c | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Comments

Joakim Tjernlund June 2, 2021, 3:34 p.m. UTC | #1
Gentle ping ...

On Fri, 2021-05-28 at 18:46 +0200, Joakim Tjernlund wrote:
> From: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>

> 

> 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>

> Cc: stable@vger.kernel.org

> ---

>  drivers/bluetooth/btrtl.c | 9 ++++++++-

>  1 file changed, 8 insertions(+), 1 deletion(-)

> 

> diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c

> index e7fe5fb22753..ccef8b2cfee2 100644

> --- a/drivers/bluetooth/btrtl.c

> +++ b/drivers/bluetooth/btrtl.c

> @@ -132,12 +132,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,
diff mbox series

Patch

diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c
index e7fe5fb22753..ccef8b2cfee2 100644
--- a/drivers/bluetooth/btrtl.c
+++ b/drivers/bluetooth/btrtl.c
@@ -132,12 +132,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,