diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2023-05-19 23:17:09 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-22 13:18:24 +0300 |
commit | 836855100b87b4dd7a82546131779dc255c18b67 (patch) | |
tree | eb605efb450252eea4cd56e76e7e188854a205b9 /include | |
parent | 1cf036deebcdec46d6348842bd2f8931202fd4cd (diff) | |
download | linux-836855100b87b4dd7a82546131779dc255c18b67.tar.xz |
ASoC: Intel: avs: Account for UID of ACPI device
Configurations with multiple codecs attached to the platform are
supported but only if each from the set is different. Add new field
representing the 'Unique ID' so that codecs that share Vendor and Part
IDs can be differentiated and thus enabling support for such
configurations.
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20230519201711.4073845-6-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/soc-acpi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc-acpi.h b/include/sound/soc-acpi.h index b38fd25c5729..528279056b3a 100644 --- a/include/sound/soc-acpi.h +++ b/include/sound/soc-acpi.h @@ -170,6 +170,7 @@ struct snd_soc_acpi_link_adr { /* Descriptor for SST ASoC machine driver */ struct snd_soc_acpi_mach { u8 id[ACPI_ID_LEN]; + const char *uid; const struct snd_soc_acpi_codecs *comp_ids; const u32 link_mask; const struct snd_soc_acpi_link_adr *links; |