From patchwork Mon Oct 24 11:32:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 9161 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp457795wru; Mon, 24 Oct 2022 06:36:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5jUoJZEOSxNIFVPijbCAJhG4qxGa/reJa7yWSorNh81T2EH3RMF0AplGTohADriD8MLs56 X-Received: by 2002:a17:907:2c68:b0:78d:eac6:2d0d with SMTP id ib8-20020a1709072c6800b0078deac62d0dmr28257577ejc.55.1666618593196; Mon, 24 Oct 2022 06:36:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666618593; cv=none; d=google.com; s=arc-20160816; b=F62eFXewZaL4taSpmwAAb2kVRdwe5aG5A76zupPqgBkIROFtKjNLLmhovUsMbjjGQb gm8ZCT8croFB8FYVlHJFW8QD83QPVLVJRgNk1UtTs1RHdKJN1nZPzTqB+vIUyEWq7wJo LhWzdDqZclMwdnPqjl0EFLoJ5VcDxmIu9BFkXYkWoogZpVEb2NpgdEclU1lTn23bCOBU sCMXbGThudF7Ue1ZmFDO/LcmQqGKHVuEfFNvGLtc5bHkRiwtd64s5quHPqybvJ6AvOKd dyvBkWlQ8Dy2BJky8GaCRcVzqS8vQnvoEW7MwuV9u5Yeyn0bT+YoXMRvNN45/2NFZMm7 zVcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=LN0zsSC0xJw5mkSveoOLLJ8NRZxWU6v4uulO5oaad9g=; b=y39TchDz04A/zwn1KpH1sRJvNCvAQ+At3PxxQki2uFljXe1i039NvogGsYnd9/dwUT lim4sP0yTuAGZGJKljqUP6fG8fFJUgQP+Xo9gVS5G7tou5n7n6a6Jq/aLF/fqfMn7RWF rQXQjznTupCnMJOziCjriHMaTmTQVbZhBUmNTTPxuS2nY4/LN+koJQ8xGZBMNlY3wzSw wwzZI52COs1/5Zwz2oi0MW0Ly8S2TrOsLefd2LVfbT6pYAPr6fc7hnCk59PoZFUovb/P +B+te+Z8kllBO6Q+c8Xv6Cg1wrCUZ6QF45eL9qGN8bBDk7flC5msiNJlULPFAle8/wR+ MZYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AcVXltSR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d6-20020a50ea86000000b0045c3592301dsi25646131edo.191.2022.10.24.06.35.58; Mon, 24 Oct 2022 06:36:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AcVXltSR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232537AbiJXN2K (ORCPT + 99 others); Mon, 24 Oct 2022 09:28:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236429AbiJXNZn (ORCPT ); Mon, 24 Oct 2022 09:25:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE9FA88DCE; Mon, 24 Oct 2022 05:31:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id DAE4261342; Mon, 24 Oct 2022 12:30:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C7B3BC43143; Mon, 24 Oct 2022 12:30:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666614636; bh=63049ETEStgnvN3LHZqBIKMkCgOEwpomPcHwDqtiUmI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AcVXltSRzXPgNqmZoyevOvUshYJtWsprpYs1C98NZJKhYcwIJ3tCuzzrqwK9sHyMX Am4ER/zHfKxGFMvEC/DQTRhWBKS3eTED4yMku7QAgyNTpOKM7031T7VhrmFKevEdep rKo3c81a701yEohWhcY8JGAv8nkGQmCSDfswd2xM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ranjani Sridharan , Chao Song , Curtis Malainey , Jairaj Arava , Curtis Malainey , Sathyanarayana Nujella , Pierre-Louis Bossart , Mark Brown , Sasha Levin Subject: [PATCH 5.10 336/390] ASoC: SOF: pci: Change DMI match info to support all Chrome platforms Date: Mon, 24 Oct 2022 13:32:13 +0200 Message-Id: <20221024113037.317848440@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113022.510008560@linuxfoundation.org> References: <20221024113022.510008560@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747576258066114751?= X-GMAIL-MSGID: =?utf-8?q?1747576258066114751?= From: Jairaj Arava [ Upstream commit c1c1fc8103f794a10c5c15e3c17879caf4f42c8f ] 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 Link: https://lore.kernel.org/r/20220919114429.42700-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- 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 75657a25dbc0..fe9feaab6a0a 100644 --- a/sound/soc/sof/sof-pci-dev.c +++ b/sound/soc/sof/sof-pci-dev.c @@ -75,7 +75,7 @@ static const struct dmi_system_id community_key_platforms[] = { { .ident = "Google Chromebooks", .matches = { - DMI_MATCH(DMI_SYS_VENDOR, "Google"), + DMI_MATCH(DMI_PRODUCT_FAMILY, "Google"), } }, {},