From patchwork Mon Oct 24 11:33:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 10088 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp625233wru; Mon, 24 Oct 2022 12:53:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5DANLHvC13XdyhRtadskfMyPAJ1FsPnCYXyYKI1N+SBSJsrKiafj9YZyvuirXizH8QdCBD X-Received: by 2002:a17:907:a059:b0:7a5:587d:d315 with SMTP id gz25-20020a170907a05900b007a5587dd315mr8020012ejc.631.1666641228034; Mon, 24 Oct 2022 12:53:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666641228; cv=none; d=google.com; s=arc-20160816; b=S74+e8y6z4w7kIndMzmpsw74jw0EdGCSODsDkLC5Ke+SZ5PZsv17N+jtg0eLsWoLa2 uwKJ5BhkaxUk70vOSOqA5N2VImx8hhc3N/rEzEBnCSCVjH9Hokorrwdj8Mvq44utXw44 Nh4gb3d8Z8nUy8LudujGbJA+cVQTCBMHc/sGx9HJD98tsK8fCQlTlxuGWmBSAxkv1mmb 8go+rQOggI8HYvYJipKOV+g1oD1G0pWlt4KOuKabZGr/tSC7MR5BbrUnV7PHSMypya4A UqqADvRLOlhk76eF4TCxS2ibmGSVsh04Q1yBkKlRmhzkcQEX63hBMGrlaEWMYRJeIfhh Ma7g== 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=XDnyFfjqQmAM9exjN7kECrO20y8456/zPFyEXUISQho=; b=UpzyFUrSN7npDz4NE38vhFUbGE2gz8UgOcJYABvrL4ANn8OdBYqGNaQWRulLfWirqi MIZw68UvxC7nfEXANjaev/Cfk0nxCCJkda9Sc+FhbXhNfW/0VumHYdrsJuZoj4giFHpD By8wVpC6lh+t0q4ZlYMYYYc6Yc2YDVGhJn02JUDy7G/dpkg8j0q5/zQ05oAwTse0Ov6D loy/Ea3RJKFW+NqjUXT+kYZzb/2mgC7kWs5VXV2MnZJpEj+U2CImO1ceDCvRUUdMrBpY eJADTIQsZLJxhJ3uY7uSzfjz7VxIXTP5mIlNgDGZgjBtEdJykTGNdED/VAY79W78rU4z WtNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LTbuPfQY; 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 y42-20020a50bb2d000000b0045c786162f5si617136ede.567.2022.10.24.12.53.21; Mon, 24 Oct 2022 12:53:48 -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=LTbuPfQY; 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 S233489AbiJXTrm (ORCPT + 99 others); Mon, 24 Oct 2022 15:47:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233520AbiJXTqi (ORCPT ); Mon, 24 Oct 2022 15:46:38 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52294266415; Mon, 24 Oct 2022 11:13:04 -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 ams.source.kernel.org (Postfix) with ESMTPS id 07B20B818CF; Mon, 24 Oct 2022 12:53:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 385B8C433C1; Mon, 24 Oct 2022 12:53:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666615981; bh=J135anatUTW3EbLfshYvQtJh1Vx3yzaqMkJvXQNgapA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LTbuPfQYeL7fw0hYcEtKK5qBKZgca038GLME9beTnFdXDlHQhN6c01EZzJHTSGlgp iitjs6HVHpcpGwjUEuDEXocqqo7NZkp4W6EoIguSu22ZZvBhlUkPNsDB9eomII7MQT KvFpvb8KKuw+X91XAMR0hzClGAsH3XQbZdli4uo4= 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.15 456/530] ASoC: SOF: pci: Change DMI match info to support all Chrome platforms Date: Mon, 24 Oct 2022 13:33:20 +0200 Message-Id: <20221024113105.693206966@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221024113044.976326639@linuxfoundation.org> References: <20221024113044.976326639@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?1747599992471227647?= X-GMAIL-MSGID: =?utf-8?q?1747599992471227647?= 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 b773289c928d..3b4c011e0283 100644 --- a/sound/soc/sof/sof-pci-dev.c +++ b/sound/soc/sof/sof-pci-dev.c @@ -80,7 +80,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"), } }, {},