linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re:
       [not found] <20211126221034.21331-1-lukasz.bartosik@semihalf.com--annotate>
@ 2021-11-29 21:59 ` sean.wang
  2021-11-29 22:01 ` Re:[PATCH v1] Bluetooth: btmtksdio: enable msft opcode sean.wang
  1 sibling, 0 replies; 3+ messages in thread
From: sean.wang @ 2021-11-29 21:59 UTC (permalink / raw)
  To: lb
  Cc: marcel, johan.hedberg, luiz.dentz, upstream, linux-bluetooth,
	linux-mediatek, linux-kernel, Sean Wang

From: Sean Wang <sean.wang@mediatek.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);

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;
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re:[PATCH v1] Bluetooth: btmtksdio: enable msft opcode
       [not found] <20211126221034.21331-1-lukasz.bartosik@semihalf.com--annotate>
  2021-11-29 21:59 ` sean.wang
@ 2021-11-29 22:01 ` sean.wang
  2021-11-30 13:01   ` [PATCH " Łukasz Bartosik
  1 sibling, 1 reply; 3+ messages in thread
From: sean.wang @ 2021-11-29 22:01 UTC (permalink / raw)
  To: lb
  Cc: marcel, johan.hedberg, luiz.dentz, upstream, linux-bluetooth,
	linux-mediatek, linux-kernel, Sean Wang

From: Sean Wang <sean.wang@mediatek.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);

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;
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] Bluetooth: btmtksdio: enable msft opcode
  2021-11-29 22:01 ` Re:[PATCH v1] Bluetooth: btmtksdio: enable msft opcode sean.wang
@ 2021-11-30 13:01   ` Łukasz Bartosik
  0 siblings, 0 replies; 3+ messages in thread
From: Łukasz Bartosik @ 2021-11-30 13:01 UTC (permalink / raw)
  To: Sean Wang
  Cc: Marcel Holtmann, Johan Hedberg, Luiz Augusto von Dentz, upstream,
	linux-bluetooth, linux-mediatek, linux-kernel

pon., 29 lis 2021 o 22:01 <sean.wang@mediatek.com> napisał(a):
>
> From: Sean Wang <sean.wang@mediatek.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);
>
> Hi Łukasz,
>
> msft feature is supposed only supported on mt7921. Could you help rework the patch to enalbe msft opocde only for mt7921?
>
>         Sean
>

Hi Sean,

Thanks for the input. I will update the patch so that msft opcode is
enabled only for mt7921.

Regards,
Lukasz

> >       bt_dev_info(hdev, "Device setup in %llu usecs", duration);
> >
> >       return 0;
> >

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-30 13:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20211126221034.21331-1-lukasz.bartosik@semihalf.com--annotate>
2021-11-29 21:59 ` sean.wang
2021-11-29 22:01 ` Re:[PATCH v1] Bluetooth: btmtksdio: enable msft opcode sean.wang
2021-11-30 13:01   ` [PATCH " Łukasz Bartosik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).