ASoC: SOF: Intel: Use DMI string to search for adl_mx98373_rt5682 variant
authorjairaj arava <jairaj.arava@intel.com>
Mon, 2 Aug 2021 15:21:49 +0000 (10:21 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 3 Aug 2021 17:26:10 +0000 (18:26 +0100)
commit46fa9a158327dd40238fa8e76af4bafdfcb8129e
treeff53d8310e3207f6c05e095fab36bcd9f14e8eba
parentb8cab69b0ed9ee10f2a86670ce41ffad991c8dc9
ASoC: SOF: Intel: Use DMI string to search for adl_mx98373_rt5682 variant

DMI product name is used to support system variants based on
adl_mx98373_rt5682 in current implementation. Replace this DMI search with
DMI_OEM_STRING and coreboot(BIOS used in these systems) is
setting the needed DMI_OEM_STRING field to uniquely identify these
systems.

Reviewed-by: Bard Liao <bard.liao@intel.com>
Signed-off-by: jairaj arava <jairaj.arava@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210802152151.15832-3-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_rt5682.c
sound/soc/sof/sof-pci-dev.c