Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75D39C433F5 for ; Mon, 29 Nov 2021 22:02:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230466AbhK2WF1 (ORCPT ); Mon, 29 Nov 2021 17:05:27 -0500 Received: from mailgw01.mediatek.com ([60.244.123.138]:41852 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S230516AbhK2WDZ (ORCPT ); Mon, 29 Nov 2021 17:03:25 -0500 X-UUID: 76bd48bca8b544ec8ef351fa17929f4e-20211130 X-UUID: 76bd48bca8b544ec8ef351fa17929f4e-20211130 Received: from mtkexhb02.mediatek.inc [(172.21.101.103)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1236191533; Tue, 30 Nov 2021 06:00:02 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.3; Tue, 30 Nov 2021 06:00:01 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 30 Nov 2021 06:00:01 +0800 From: To: CC: , , , , , , , "Sean Wang" Subject: =?UTF-8?q?Re=3A?= Date: Tue, 30 Nov 2021 05:59:58 +0800 Message-ID: <1638223198-31652-1-git-send-email-sean.wang@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <20211126221034.21331-1-lukasz.bartosik@semihalf.com--annotate> References: <20211126221034.21331-1-lukasz.bartosik@semihalf.com--annotate> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Sean Wang >Enable msft opcode for btmtksdio driver. > >Signed-off-by: Łukasz Bartosik >--- > 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); Hi Łukasz, msft feature is supposed only supported on mt7921. Could you help rework the patch to enalbe msft opocde only for mt7921? Sean > bt_dev_info(hdev, "Device setup in %llu usecs", duration); > > return 0; >