Skip to content

Commit a720861

Browse files
Hao QinVudentz
authored andcommitted
Bluetooth: btmtk: Remove resetting mt7921 before downloading the fw
Remove resetting mt7921 before downloading the fw, as it may cause command timeout when performing the reset. Signed-off-by: Hao Qin <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
1 parent 5f39740 commit a720861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/bluetooth/btmtk.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,15 +1329,15 @@ int btmtk_usb_setup(struct hci_dev *hdev)
13291329
fwname = FIRMWARE_MT7668;
13301330
break;
13311331
case 0x7922:
1332-
case 0x7961:
13331332
case 0x7925:
13341333
/* Reset the device to ensure it's in the initial state before
13351334
* downloading the firmware to ensure.
13361335
*/
13371336

13381337
if (!test_bit(BTMTK_FIRMWARE_LOADED, &btmtk_data->flags))
13391338
btmtk_usb_subsys_reset(hdev, dev_id);
1340-
1339+
fallthrough;
1340+
case 0x7961:
13411341
btmtk_fw_get_filename(fw_bin_name, sizeof(fw_bin_name), dev_id,
13421342
fw_version, fw_flavor);
13431343

0 commit comments

Comments
 (0)