]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mt7921s: Add .btmtk_get_codec_config_data
authorYake Yang <yake.yang@mediatek.com>
Wed, 16 Mar 2022 23:15:22 +0000 (07:15 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Mar 2022 16:12:08 +0000 (17:12 +0100)
commit4d0854baa0e16ae7bed535c9001f72369c295c33
treeb2d1355b875cd0182519f4d7a8adb749e8e23c90
parent60af32f954cdc32913da6f0d3f8e849620eb2ddb
Bluetooth: mt7921s: Add .btmtk_get_codec_config_data

add .btmtk_get_codec_config_data to get codec configuration data.

In HFP offload usecase, controllers need to be set codec details before
opening SCO. This callback function is used to fetch vendor specific codec
config data.

This is a preliminary patch to add the WBS support to the MT7921 driver.

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>
drivers/bluetooth/btmtksdio.c