]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-acpi: add link_mask field
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 16 Sep 2019 21:42:40 +0000 (16:42 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 7 Oct 2019 18:43:21 +0000 (19:43 +0100)
commit2201d8be1dc3b6259833b4888a87d2f106997da7
treeedd8b527fdbdecb07e1afbcbb836fa753e8384fe
parent3d56b52d6655dc94b8e1291c49f2573a116b8b7f
ASoC: soc-acpi: add link_mask field

When interfaces can be pin-muxed, static information from ACPI might
not be enough. Add information on which links needs to be enabled by
hardware/firmware for a specific machine driver to be selected.

When walking through the list of possible machines, links will be
checked, which implies that configurations where multiple links are
required need to be checked first.

Additional criteria will be needed later, such as which SoundWire
Slave devices are actually enabled, but for now this helps detect
between basic configurations.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190916214251.13130-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-acpi.h