Bluetooth: mt7921s: Enable SCO over I2S
authorMark Chen <mark-yw.chen@mediatek.com>
Sun, 9 Jan 2022 19:23:59 +0000 (03:23 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 10 Jan 2022 16:41:39 +0000 (17:41 +0100)
commit191c872308f6a175324bc33807852b10363066cb
treedfad7a6fcfe66cdbd1b77ae62d87d50e22ba6400
parentce64b3e949195768361b0e4111e0837e5e46930d
Bluetooth: mt7921s: Enable SCO over I2S

The driver has to issue the specific command to enable Bluetooth SCO over
the I2S/PCM interface on mt7921s, that is supported since the firmware
with version 20211222191101 was added, and the patch would not cause any
harm even when the old firmware is applied.

The SCO profile with the patch was tested by setting up a VOIP application,
connected to HFP device, checked telephony function can work normally.

Co-developed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Mark Chen <mark-yw.chen@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtk.h
drivers/bluetooth/btmtksdio.c