Thread (2 messages) flat view 2 messages, 2 authors, 2021-11-29

Re: [PATCH v1] Bluetooth: btmtksdio: enable msft opcode

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2021-11-29 08:11:47

Hi Lukasz,
quoted hunk ↗ jump to hunk
Enable msft opcode for btmtksdio driver.

Signed-off-by: Łukasz Bartosik <redacted>
---
drivers/bluetooth/btmtksdio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index d9cf0c492e29..2a7a615663b9 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -887,6 +887,7 @@ static int btmtksdio_setup(struct hci_dev *hdev)
	if (enable_autosuspend)
		pm_runtime_allow(bdev->dev);

+	hci_set_msft_opcode(hdev, 0xFD30);
	bt_dev_info(hdev, "Device setup in %llu usecs", duration);
can we get someone from Mediatek to sign off on this and that all SDIO based device support the MSFT extension.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help