Skip to content

Commit a83a772

Browse files
tiwaigregkh
authored andcommitted
Bluetooth: btmtk: Add MODULE_FIRMWARE() for MT7922
[ Upstream commit 3e465a0 ] Since dracut refers to the module info for defining the required firmware files and btmtk driver doesn't provide the firmware info for MT7922, the generate initrd misses the firmware, resulting in the broken Bluetooth. This patch simply adds the MODULE_FIRMWARE() for the missing entry for covering that. Link: https://bugzilla.suse.com/show_bug.cgi?id=1214133 Signed-off-by: Takashi Iwai <[email protected]> Reviewed-by: Paul Menzel <[email protected]> Reviewed-by: Matthias Brugger <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
1 parent b19fe5e commit a83a772

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/bluetooth/btmtk.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,4 +288,5 @@ MODULE_LICENSE("GPL");
288288
MODULE_FIRMWARE(FIRMWARE_MT7622);
289289
MODULE_FIRMWARE(FIRMWARE_MT7663);
290290
MODULE_FIRMWARE(FIRMWARE_MT7668);
291+
MODULE_FIRMWARE(FIRMWARE_MT7922);
291292
MODULE_FIRMWARE(FIRMWARE_MT7961);

drivers/bluetooth/btmtk.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#define FIRMWARE_MT7622 "mediatek/mt7622pr2h.bin"
55
#define FIRMWARE_MT7663 "mediatek/mt7663pr2h.bin"
66
#define FIRMWARE_MT7668 "mediatek/mt7668pr2h.bin"
7+
#define FIRMWARE_MT7922 "mediatek/BT_RAM_CODE_MT7922_1_1_hdr.bin"
78
#define FIRMWARE_MT7961 "mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin"
89

910
#define HCI_EV_WMT 0xe4

0 commit comments

Comments
 (0)