Commit 1a3fb5d3 authored by Sathya Prakash M R's avatar Sathya Prakash M R Committed by Mark Brown

ASoC: Intel: boards: Match Product Family instead of product

The generic machine driver of sof_rt5682
supports more platforms of same product family.
hence match the product family instead of product name.
Signed-off-by: default avatarSathya Prakash M R <sathya.prakash.m.r@intel.com>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190809232236.21182-2-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 872f3ac5
...@@ -91,8 +91,7 @@ static const struct dmi_system_id sof_rt5682_quirk_table[] = { ...@@ -91,8 +91,7 @@ static const struct dmi_system_id sof_rt5682_quirk_table[] = {
{ {
.callback = sof_rt5682_quirk_cb, .callback = sof_rt5682_quirk_cb,
.matches = { .matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Google"), DMI_MATCH(DMI_PRODUCT_FAMILY, "Google_Hatch"),
DMI_MATCH(DMI_PRODUCT_NAME, "Hatch"),
}, },
.driver_data = (void *)(SOF_RT5682_MCLK_EN | .driver_data = (void *)(SOF_RT5682_MCLK_EN |
SOF_RT5682_MCLK_24MHZ | SOF_RT5682_MCLK_24MHZ |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment