Skip to content
Snippets Groups Projects
Commit dd1756d7 authored by Mark Hasemeyer's avatar Mark Hasemeyer Committed by Greg Kroah-Hartman
Browse files

ASoC: SOF: sof-pci-dev: Fix community key quirk detection


commit 7dd692217b861a8292ff8ac2c9d4458538fd6b96 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: default avatarMark Hasemeyer <markhas@chromium.org>
Acked-by: default avatarCurtis Malainey <cujomalainey@chromium.org>
Link: https://lore.kernel.org/r/20231020145953.v1.1.Iaf5702dc3f8af0fd2f81a22ba2da1a5e15b3604c@changeid


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent aab16960
No related branches found
No related tags found
No related merge requests found
......@@ -145,6 +145,13 @@ static const struct dmi_system_id community_key_platforms[] = {
DMI_MATCH(DMI_PRODUCT_FAMILY, "Google"),
}
},
{
.ident = "Google firmware",
.callback = chromebook_use_community_key,
.matches = {
DMI_MATCH(DMI_BIOS_VERSION, "Google"),
}
},
{},
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment