OSDN Git Service

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)
commitaf78cec45f2d01be9d14c177e403c8021ebfd40e
treeedd8b527fdbdecb07e1afbcbb836fa753e8384fe
parentedd6d5393206ec9bfc74776f6f20a57f11327e1b
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