From patchwork Mon Sep 19 11:44:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 12980315 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EE0BAC54EE9 for ; Mon, 19 Sep 2022 11:46:03 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A3ABFE11; Mon, 19 Sep 2022 13:45:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A3ABFE11 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1663587961; bh=sJFn3P6vmdsdwlZ7vJvk4dM8w1q4crGj7As2kafX8Hw=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=YTPZIPusWkKzJMHDq6uV10W4OZg21btqj8tThIAlRNmbJrU2Rs3y1nMbFHWXg1XLG r2wezfsP4twHzva0XyGliyX0NwwqjBIz3xFmMIBuKcAFLSxFsYj4Nt/LTSgBTiQ6eH Bb38yS9hMTTlyhv+FTOruTYIQ8I/BJ4BTBo8ATT4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 43DC2F8016D; Mon, 19 Sep 2022 13:45:11 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id CA5CEF8023A; Mon, 19 Sep 2022 13:45:09 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3A081F800C9 for ; Mon, 19 Sep 2022 13:45:02 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3A081F800C9 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="KxEhU/jQ" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663587904; x=1695123904; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=sJFn3P6vmdsdwlZ7vJvk4dM8w1q4crGj7As2kafX8Hw=; b=KxEhU/jQ3KlAj79D/ud+3oJyAXpXkipmwDiKMZ59I2zyDvqSl7zNVGwW O+zllQWwXefQZt/JBw2DFyQ++skuL1Xl23zDrkuHpqXxeD8qykuBTFtW6 MHju9SHRuf17eynPLCt0QQcWIWMdlwC7Lh7s/goyJQWLuk6YMZ9Brsb6n c7vuXO3sVOwiIdjogLzDLBmSLsS63wVcuwtS/VaoUBHGRgY9d+LoXEb1r cUW4CpPEVWpZZmKIKgbq2RnY0rbjmPwfdXOirNw0KlaPwIB90sGQf9ffM oHbFBUxJ1Dvmk95aHXiT7MyF4d+w/5oM7aHsDcSCBoeTE9dpPJ76hRKny g==; X-IronPort-AV: E=McAfee;i="6500,9779,10474"; a="298106186" X-IronPort-AV: E=Sophos;i="5.93,327,1654585200"; d="scan'208";a="298106186" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2022 04:45:00 -0700 X-IronPort-AV: E=Sophos;i="5.93,327,1654585200"; d="scan'208";a="569625734" Received: from amagnus-mobl2.ger.corp.intel.com (HELO pbossart-mobl3.home) ([10.249.46.168]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2022 04:44:56 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Subject: [PATCH] ASOC: SOF: pci: Change DMI match info to support all Chrome platforms Date: Mon, 19 Sep 2022 13:44:29 +0200 Message-Id: <20220919114429.42700-1-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Cc: Jairaj Arava , tiwai@suse.de, Ranjani Sridharan , Pierre-Louis Bossart , Curtis Malainey , broonie@kernel.org, Sathyanarayana Nujella , Chao Song , Curtis Malainey X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From: Jairaj Arava In some Chrome platforms if OEM's use their own string as SYS_VENDOR than "Google", it leads to firmware load failure from intel/sof/community path. Hence, changing SYS_VENDOR to PRODUCT_FAMILY in which "Google" is used as common prefix and is supported in all Chrome platforms. Reviewed-by: Ranjani Sridharan Reviewed-by: Chao Song Reviewed-by: Curtis Malainey Signed-off-by: Jairaj Arava Signed-off-by: Curtis Malainey Signed-off-by: Sathyanarayana Nujella Signed-off-by: Pierre-Louis Bossart --- sound/soc/sof/sof-pci-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/sof/sof-pci-dev.c b/sound/soc/sof/sof-pci-dev.c index d627092b399d7..643fd1036d60b 100644 --- a/sound/soc/sof/sof-pci-dev.c +++ b/sound/soc/sof/sof-pci-dev.c @@ -138,7 +138,7 @@ static const struct dmi_system_id community_key_platforms[] = { .ident = "Google Chromebooks", .callback = chromebook_use_community_key, .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "Google"), + DMI_MATCH(DMI_PRODUCT_FAMILY, "Google"), } }, {},