[PATCH] ASoC: rt5645: add "coreboot" to dmi_system_id list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are some Google projects with manufacturer name different
from "GOOGLE". So we need to add DMI list for those projects.
However some OEMs / vendors want to keep secret before product launch.
So, we can't use DMI_SYS_VENDOR for them. Fortunately, the BIOS vendor
field is the same for all chrome os projects. It allows us to match
chrome projects by DMI_BIOS_VENDOR = "coreboot".

Signed-off-by: John Lin <john.lin@xxxxxxxxxxx>
Signed-off-by: Bard Liao <bardliao@xxxxxxxxxxx>
---
 sound/soc/codecs/rt5645.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 93e8c90..8521b22 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -3552,6 +3552,12 @@ static const struct dmi_system_id dmi_platform_intel_braswell[] = {
 			DMI_MATCH(DMI_SYS_VENDOR, "GOOGLE"),
 		},
 	},
+	{
+		.ident = "Google Chrome",
+		.matches = {
+			DMI_MATCH(DMI_BIOS_VENDOR, "coreboot"),
+		},
+	},
 	{ }
 };
 
-- 
1.8.1.1.439.g50a6b54

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux