diff mbox series

[v2] Bluetooth: btmtksdio: enable AOSP extension for MT7921

Message ID 662a29b7e66c7018b00fd84564831a2d78cef7d8.1638501745.git.objelf@gmail.com
State Accepted
Commit 16ada83b9a59a50a6e869d2986fb757007392939
Headers show
Series [v2] Bluetooth: btmtksdio: enable AOSP extension for MT7921 | expand

Commit Message

Sean Wang Dec. 3, 2021, 3:30 a.m. UTC
From: Sean Wang <sean.wang@mediatek.com>

Similar to MT7921 btusb, we enable AOSP extension for MT7921 btmtksdio
as well.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
---
v2: rebase onto the top of "[v2] Bluetooth: btmtksdio: enable msft
opcode"
---
 drivers/bluetooth/btmtksdio.c | 1 +
 1 file changed, 1 insertion(+)

Comments

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

> Similar to MT7921 btusb, we enable AOSP extension for MT7921 btmtksdio
> as well.
> 
> Signed-off-by: Sean Wang <sean.wang@mediatek.com>
> ---
> v2: rebase onto the top of "[v2] Bluetooth: btmtksdio: enable msft
> opcode"
> ---
> drivers/bluetooth/btmtksdio.c | 1 +
> 1 file changed, 1 insertion(+)

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 fc15f826d948..3a8815e2be3b 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -788,6 +788,7 @@  static int mt79xx_setup(struct hci_dev *hdev, const char *fwname)
 	}
 
 	hci_set_msft_opcode(hdev, 0xFD30);
+	hci_set_aosp_capable(hdev);
 
 	return err;
 }