OSDN Git Service

ASoC: SOF: Intel: Use DMI oem string search for tgl_max98373_rt5682
authorSathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Thu, 10 Sep 2020 16:27:05 +0000 (19:27 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 11 Sep 2020 14:52:19 +0000 (15:52 +0100)
commit2a4b91a26403fa3e7b07271700c3ca7103664bba
tree44753b191d5f1b21d6d491a883a5f0656a29e010
parenta0822e3eeaab3c8d99569bd4af1b5b0aab9b7ce3
ASoC: SOF: Intel: Use DMI oem string search for tgl_max98373_rt5682

DMI product name is used to support system variants based out of
tgl_max98373_rt5682 in current implementation. Replace this DMI search with
DMI_OEM_STRING. Coreboot(BIOS used in these systems) is
setting the needed DMI_OEM_STRING field to uniquely identify these
systems.

Signed-off-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200910162705.2026036-1-kai.vehmanen@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