ASoC: amd: acp: modify config flag read logic
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Thu, 7 Dec 2023 04:55:01 +0000 (10:25 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 7 Dec 2023 12:13:15 +0000 (12:13 +0000)
commit8527ecc6cf25417a1940f91eb91fca0c69a5c553
treeed3c33d48c21187e8cc4cb9422e65b53272a2daa
parentce17aa4cf2db7d6b95a3f854ac52d0d49881dd49
ASoC: amd: acp: modify config flag read logic

Modify acp config flag read logic from ACP v7.0 onwards.
Instead of reading from DMI table match entry, read the
config flag value from BIOS ACPI table.
This will remove updating DMI table when new platform support
is added.
Use FLAG_AMD_LEGACY_ONLY_DMIC flag as default one.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20231207045505.1519151-1-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-config.c