]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SOF: Intel: hda: support BT link mask in mach_params
authorBrent Lu <brent.lu@intel.com>
Tue, 27 Aug 2024 12:32:06 +0000 (20:32 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 28 Aug 2024 12:01:57 +0000 (13:01 +0100)
commit65dc80a78c5f42f5648396b218f50374cf1c2770
treeac222dfcd4c13c52baa730b4e397bbc89f80a291
parent7db9f6361170a8caa32cc31d894fac1ba8dfc4f3
ASoC: SOF: Intel: hda: support BT link mask in mach_params

Add an new variable bt_link_mask to snd_soc_acpi_mach_params structure.
SSP port mask of BT offload found in NHLT table will be sent to
machine driver to setup BE dai link with correct SSP port number.

This patch only detects and enables the BT dailink. The functionality
will only be unlocked with a topology file that makes a reference to
that BT dailink. For backwards-compatibility reasons, this topology
will not be used by default. Chromebooks and Linux users willing to
experiment shall use the tplg_name kernel parameter to force the use
of an enhanced topology.

Signed-off-by: Brent Lu <brent.lu@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20240827123215.258859-9-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-acpi.h
sound/soc/sof/intel/hda.c