]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd283e19c3df7ed1e06aad842aa965e2d433ce04c
treedfad7a6fcfe66cdbd1b77ae62d87d50e22ba6400
parent605abf71d0d12afe8b484c541d761b1cfb2a73bd
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