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@realtek.com Signed-off-by: Bard Liao bardliao@realtek.com --- 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"), + }, + }, { } };