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)
commitf41b91fa178342b6a49f1088e514178c2da4176f
treeb2d1355b875cd0182519f4d7a8adb749e8e23c90
parentd786105ef25c0c7640daffc10bcf6d6fcfa0d0e1
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