summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYake Yang <yake.yang@mediatek.com>2022-03-17 07:15:23 +0800
committerMarcel Holtmann <marcel@holtmann.org>2022-03-18 17:12:08 +0100
commit5ad80cfcf30006110075860b61a7101f215f665c (patch)
tree72784b60b9221103d886248d943e01254880e728
parentf41b91fa178342b6a49f1088e514178c2da4176f (diff)
downloadlinux-5ad80cfcf30006110075860b61a7101f215f665c.tar.bz2
Bluetooth: mt7921s: Add WBS support
It is time to add wide band speech (WBS) support. Reviewed-by: Mark Chen <markyawenchen@gmail.com> Co-developed-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Sean Wang <sean.wang@mediatek.com> Signed-off-by: Yake Yang <yake.yang@mediatek.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r--drivers/bluetooth/btmtksdio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c
index c28eb9fc6176..f3dc5881fff7 100644
--- a/drivers/bluetooth/btmtksdio.c
+++ b/drivers/bluetooth/btmtksdio.c
@@ -1123,6 +1123,9 @@ static int btmtksdio_setup(struct hci_dev *hdev)
return err;
}
+ /* Enable WBS with mSBC codec */
+ set_bit(HCI_QUIRK_WIDEBAND_SPEECH_SUPPORTED, &hdev->quirks);
+
/* Enable GPIO reset mechanism */
if (bdev->reset) {
err = btmtksdio_reset_setting(hdev);