All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukasz Bartosik <lb@semihalf.com>
To: Marcel Holtmann <marcel@holtmann.org>,
	Johan Hedberg <johan.hedberg@gmail.com>,
	Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org,
	Sean Wang <sean.wang@mediatek.com>,
	upstream@semihalf.com
Subject: [PATCH v1] Bluetooth: btmtksdio: enable msft opcode
Date: Fri, 26 Nov 2021 23:10:34 +0100	[thread overview]
Message-ID: <20211126221034.21331-1-lukasz.bartosik@semihalf.com> (raw)

From: Łukasz Bartosik <lb@semihalf.com>

Enable msft opcode for btmtksdio driver.

Signed-off-by: Łukasz Bartosik <lb@semihalf.com>
---
 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);
 
 	return 0;
-- 
2.34.0.rc2.393.gf8c9666880-goog


             reply	other threads:[~2021-11-26 22:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-26 22:10 Lukasz Bartosik [this message]
2021-11-29  8:09 ` [PATCH v1] Bluetooth: btmtksdio: enable msft opcode Marcel Holtmann
     [not found] <20211126221034.21331-1-lukasz.bartosik@semihalf.com--annotate>
2021-11-29 22:01 ` sean.wang
2021-11-30 13:01   ` [PATCH " Łukasz Bartosik
2021-11-30 13:01     ` Łukasz Bartosik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211126221034.21331-1-lukasz.bartosik@semihalf.com \
    --to=lb@semihalf.com \
    --cc=johan.hedberg@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=luiz.dentz@gmail.com \
    --cc=marcel@holtmann.org \
    --cc=sean.wang@mediatek.com \
    --cc=upstream@semihalf.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.