aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJairaj Arava <[email protected]>2022-09-19 13:44:29 +0200
committerMark Brown <[email protected]>2022-09-19 17:52:44 +0100
commitc1c1fc8103f794a10c5c15e3c17879caf4f42c8f (patch)
tree45860e9d826f5eae6acc6036bd09f9884fe18d98
parent9db1c9fa214ef41d098633ff40a87284ca6e1870 (diff)
ASoC: SOF: pci: Change DMI match info to support all Chrome platforms
In some Chrome platforms if OEM's use their own string as SYS_VENDOR than "Google", it leads to firmware load failure from intel/sof/community path. Hence, changing SYS_VENDOR to PRODUCT_FAMILY in which "Google" is used as common prefix and is supported in all Chrome platforms. Reviewed-by: Ranjani Sridharan <[email protected]> Reviewed-by: Chao Song <[email protected]> Reviewed-by: Curtis Malainey <[email protected]> Signed-off-by: Jairaj Arava <[email protected]> Signed-off-by: Curtis Malainey <[email protected]> Signed-off-by: Sathyanarayana Nujella <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
-rw-r--r--sound/soc/sof/sof-pci-dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/sof-pci-dev.c b/sound/soc/sof/sof-pci-dev.c
index d627092b399d..643fd1036d60 100644
--- a/sound/soc/sof/sof-pci-dev.c
+++ b/sound/soc/sof/sof-pci-dev.c
@@ -138,7 +138,7 @@ static const struct dmi_system_id community_key_platforms[] = {
.ident = "Google Chromebooks",
.callback = chromebook_use_community_key,
.matches = {
- DMI_MATCH(DMI_SYS_VENDOR, "Google"),
+ DMI_MATCH(DMI_PRODUCT_FAMILY, "Google"),
}
},
{},