[PATCH v2] Bluetooth: btmtksdio: enable msft opcode
Lukasz Bartosik
lb at semihalf.com
Wed Dec 1 12:13:51 PST 2021
From: Łukasz Bartosik <lb at semihalf.com>
Enable msft opcode for mt7921 chip.
Signed-off-by: Łukasz Bartosik <lb at semihalf.com>
---
drivers/bluetooth/btmtksdio.c | 2 ++
1 file changed, 2 insertions(+)
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;
}
--
2.34.0.rc2.393.gf8c9666880-goog
More information about the Linux-mediatek
mailing list