diff mbox series

[v2] Bluetooth: btmtksdio: enable msft opcode

Message ID 20211201201351.2552-1-lukasz.bartosik@semihalf.com
State Accepted
Commit 111d23622e14eb8160aa42b9a35527928896b305
Headers show
Series [v2] Bluetooth: btmtksdio: enable msft opcode | expand

Commit Message

Łukasz Bartosik Dec. 1, 2021, 8:13 p.m. UTC
From: Łukasz Bartosik <lb@semihalf.com>

Enable msft opcode for mt7921 chip.

Signed-off-by: Łukasz Bartosik <lb@semihalf.com>
---
 drivers/bluetooth/btmtksdio.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Marcel Holtmann Dec. 3, 2021, 9:20 p.m. UTC | #1
Hi Lukasz,

> Enable msft opcode for mt7921 chip.
> 
> Signed-off-by: Łukasz Bartosik <lb@semihalf.com>
> ---
> drivers/bluetooth/btmtksdio.c | 2 ++
> 1 file changed, 2 insertions(+)

patch has been applied to bluetooth-next tree.

Regards

Marcel
diff mbox series

Patch

diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index 9bf5e70f47ad..6a7ba67a2dd1 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -787,6 +787,8 @@  static int mt79xx_setup(struct hci_dev *hdev, const char *fwname)
 		return err;
 	}
 
+	hci_set_msft_opcode(hdev, 0xFD30);
+
 	return err;
 }