Skip to content

Commit

Permalink
Bluetooth: mt7921s: Add WBS support
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yake Yang authored and Marcel Holtmann committed Mar 18, 2022
1 parent f41b91f commit 5ad80cf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/bluetooth/btmtksdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5ad80cf

Please sign in to comment.