Skip to content

Commit 6702961

Browse files
Mark Hasemeyergregkh
authored andcommitted
ASoC: SOF: sof-pci-dev: Fix community key quirk detection
commit 7dd6922 upstream. Some Chromebooks do not populate the product family DMI value resulting in firmware load failures. Add another quirk detection entry that looks for "Google" in the BIOS version. Theoretically, PRODUCT_FAMILY could be replaced with BIOS_VERSION, but it is left as a quirk to be conservative. Cc: stable@vger.kernel.org Signed-off-by: Mark Hasemeyer <markhas@chromium.org> Acked-by: Curtis Malainey <cujomalainey@chromium.org> Link: https://lore.kernel.org/r/20231020145953.v1.1.Iaf5702dc3f8af0fd2f81a22ba2da1a5e15b3604c@changeid Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f09e16e commit 6702961

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

sound/soc/sof/sof-pci-dev.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,13 @@ static const struct dmi_system_id community_key_platforms[] = {
145145
DMI_MATCH(DMI_PRODUCT_FAMILY, "Google"),
146146
}
147147
},
148+
{
149+
.ident = "Google firmware",
150+
.callback = chromebook_use_community_key,
151+
.matches = {
152+
DMI_MATCH(DMI_BIOS_VERSION, "Google"),
153+
}
154+
},
148155
{},
149156
};
150157

0 commit comments

Comments
 (0)