public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1] ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection
@ 2023-10-18 23:59 Mark Hasemeyer
  2023-10-19 14:22 ` Amadeusz Sławiński
  2023-10-20 15:40 ` Takashi Iwai
  0 siblings, 2 replies; 8+ messages in thread
From: Mark Hasemeyer @ 2023-10-18 23:59 UTC (permalink / raw)
  To: LKML
  Cc: Dmitry Torokhov, Guenter Roeck, stable, Mark Hasemeyer,
	Amadeusz Sławiński, Andy Shevchenko, Bard Liao,
	Brady Norander, Jaroslav Kysela, Mark Brown, Pierre-Louis Bossart,
	Takashi Iwai, alsa-devel

Some Jasperlake Chromebooks overwrite the system vendor DMI value to the
name of the OEM that manufactured the device. This breaks Chromebook
quirk detection as it expects the system vendor to be "Google".

Add another quirk detection entry that looks for "Google" in the BIOS
version.

Cc: stable@vger.kernel.org
Signed-off-by: Mark Hasemeyer <markhas@chromium.org>
---

 sound/hda/intel-dsp-config.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sound/hda/intel-dsp-config.c b/sound/hda/intel-dsp-config.c
index 24a948baf1bc..756fa0aa69bb 100644
--- a/sound/hda/intel-dsp-config.c
+++ b/sound/hda/intel-dsp-config.c
@@ -336,6 +336,12 @@ static const struct config_entry config_table[] = {
 					DMI_MATCH(DMI_SYS_VENDOR, "Google"),
 				}
 			},
+			{
+				.ident = "Google firmware",
+				.matches = {
+					DMI_MATCH(DMI_BIOS_VERSION, "Google"),
+				}
+			},
 			{}
 		}
 	},
-- 
2.42.0.655.g421f12c284-goog


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-20 19:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-18 23:59 [PATCH v1] ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection Mark Hasemeyer
2023-10-19 14:22 ` Amadeusz Sławiński
2023-10-19 16:43   ` Mark Hasemeyer
2023-10-19 17:00     ` Pierre-Louis Bossart
2023-10-20 15:36       ` Mark Hasemeyer
2023-10-20 16:59         ` Pierre-Louis Bossart
2023-10-20 19:35           ` Mark Hasemeyer
2023-10-20 15:40 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox