From patchwork Sat Oct 22 07:28:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 7640 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp1107641wrr; Sat, 22 Oct 2022 01:41:35 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4e/kN9lqnT+Ew2V1tpsZPBzAtmtopeSWgT/Xrgfn5TxC9na7PI3TwpTtzCbm2QcNPngPAm X-Received: by 2002:aa7:d357:0:b0:45b:dab5:9789 with SMTP id m23-20020aa7d357000000b0045bdab59789mr21806905edr.222.1666428095357; Sat, 22 Oct 2022 01:41:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666428095; cv=none; d=google.com; s=arc-20160816; b=TbiSeaHhud84FGm7r7eVg+/3TgkxwJvje+hfGI4FGSp2vNOq8D9VSPFd8EpauZtlWu dizeBrMWSXS++oBB+R9+MMovcGwC6u/aZGKyAMYhlAPo8SUuygc3b3IHaJjlQ+JvzjkG jHe6IJ4pD4RW+JNLc2EpY19GLloA1zTMXVuqbbok2DC/XDbpbwFOOuEagWvlbv8+Y1gl S3HQpjwF1kXmXDqy4qPjOBpqbkKL3iqY1YA3mYbCeO38AII0sK7ozlaqREa+/V+xUMvZ O5PeQFj/wjLD9pGS0y7GT+PkrrDCEcPjzIojMHP+iOziU5eDY9MTfy1cVySUQfZxhokB H4BQ== 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=pVU5ACPm09g4WEu+LdsddffbfjXZe98V0tuL1COp4vY=; b=SaH7rBXb8vlh4JbZUUEv2DM+pV3Ur3IuKXhTBAXmkw7IlXeztBtLD2jS9uGKdZcB4w VvByWF3+UVxSt5GTTM/BkxE7EEV4+9FtK8HIxC7ws8pDkoDbBkHqZGww1hgYGbUcCxek ZsTvpb7vxN56bNYuqDbSgqBYE8Z0BCVUGInfjvC4OsNr+Qtbuzjebv9ffWxLrtpehKxt j2S+PkegPTIElkbourmwmZxZPpwwDq0y5I+ZicMtOTueSH48N2dE5aLLpWo10Ws/zj+J v9IaBfK/qobqQ3P3bP/Wf7BYM/d/VzKBsFi9+iMnxkp+KoorBYCJBY3CLu0D1RnRENqm JhGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=A4DNURln; 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 gn17-20020a1709070d1100b0078e254ae418si22027483ejc.640.2022.10.22.01.41.09; Sat, 22 Oct 2022 01:41:35 -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=A4DNURln; 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 S234503AbiJVIiz (ORCPT + 99 others); Sat, 22 Oct 2022 04:38:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234314AbiJVIev (ORCPT ); Sat, 22 Oct 2022 04:34:51 -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 AB8742D20CA; Sat, 22 Oct 2022 01:04:13 -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 7F4B060BA2; Sat, 22 Oct 2022 08:03:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A00BC433D6; Sat, 22 Oct 2022 08:03:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666425794; bh=pMbxhj9oyvXcVZkWKcZXy1MVAYMbhd3RSfm4nlEApfQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A4DNURlnQANhraDhNNaBv0qXlRjStBU7FqV/XfdDvhuW0Mhb7cTgGludFGZCX6LPb LogK2z+PQC41wK2tIJFUycnNkWWYDsGzZtGEbCMxBPGaf4bZrxyamMlCsd/Cq0OQo8 7z7u2PYXq/8yMbQnfM5Ec32NWlSiekMKpaCxn5eU= 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.19 617/717] ASoC: SOF: pci: Change DMI match info to support all Chrome platforms Date: Sat, 22 Oct 2022 09:28:16 +0200 Message-Id: <20221022072525.748473991@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.3 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?1747376506217291703?= X-GMAIL-MSGID: =?utf-8?q?1747376506217291703?= 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 d627092b399d..643fd1036d60 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"), } }, {},