[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7b08520e-8f36-45a1-9b7a-316a33c8e8c4@linux.intel.com>
Date: Thu, 19 Oct 2023 16:22:19 +0200
From: Amadeusz Sławiński
<amadeuszx.slawinski@...ux.intel.com>
To: Mark Hasemeyer <markhas@...omium.org>,
LKML <linux-kernel@...r.kernel.org>
Cc: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Guenter Roeck <linux@...ck-us.net>, stable@...r.kernel.org,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Bard Liao <yung-chuan.liao@...ux.intel.com>,
Brady Norander <bradynorander@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Mark Brown <broonie@...nel.org>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Takashi Iwai <tiwai@...e.com>, alsa-devel@...a-project.org
Subject: Re: [PATCH v1] ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk
detection
On 10/19/2023 1:59 AM, Mark Hasemeyer wrote:
> 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@...r.kernel.org
> Signed-off-by: Mark Hasemeyer <markhas@...omium.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"),
> + }
> + },
> {}
> }
> },
I would assume that platform that has DMI_SYS_VENDOR set to "Google",
also has DMI_BIOS_VERSION set to "Google", so perhaps just replace
DMI_SYS_VENDOR match with DMI_BIOS_VERSION, to keep table small? Or is
that not a case?
Powered by blists - more mailing lists