-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux: backport support for RTL8761b to 5.4
- Loading branch information
Showing
3 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
diff --git a/drivers/bluetooth/btrtl.c b/drivers/bluetooth/btrtl.c | ||
index 67f4bc21e7c5..3a9afc905f24 100644 | ||
--- a/drivers/bluetooth/btrtl.c | ||
+++ b/drivers/bluetooth/btrtl.c | ||
@@ -130,12 +130,19 @@ static const struct id_table ic_id_table[] = { | ||
.cfg_name = "rtl_bt/rtl8821c_config" }, | ||
|
||
/* 8761A */ | ||
- { IC_MATCH_FL_LMPSUBV, RTL_ROM_LMP_8761A, 0x0, | ||
+ { IC_INFO(RTL_ROM_LMP_8761A, 0xa), | ||
.config_needed = false, | ||
.has_rom_version = true, | ||
.fw_name = "rtl_bt/rtl8761a_fw.bin", | ||
.cfg_name = "rtl_bt/rtl8761a_config" }, | ||
|
||
+ /* 8761B */ | ||
+ { IC_INFO(RTL_ROM_LMP_8761A, 0xb), | ||
+ .config_needed = false, | ||
+ .has_rom_version = true, | ||
+ .fw_name = "rtl_bt/rtl8761b_fw.bin", | ||
+ .cfg_name = "rtl_bt/rtl8761b_config" }, | ||
+ | ||
/* 8822C with USB interface */ | ||
{ IC_INFO(RTL_ROM_LMP_8822B, 0xc), | ||
.config_needed = false, | ||
@@ -251,6 +258,7 @@ static int rtlbt_parse_firmware(struct hci_dev *hdev, | ||
{ RTL_ROM_LMP_8723B, 9 }, /* 8723D */ | ||
{ RTL_ROM_LMP_8821A, 10 }, /* 8821C */ | ||
{ RTL_ROM_LMP_8822B, 13 }, /* 8822C */ | ||
+ { RTL_ROM_LMP_8761A, 14 }, /* 8761B */ | ||
}; | ||
|
||
min_size = sizeof(struct rtl_epatch_header) + sizeof(extension_sig) + 3; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters