From patchwork Wed Oct 19 08:33:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 4909 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp225719wrs; Wed, 19 Oct 2022 02:43:52 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7dO5vCrYqTUXeZIsFD4qVODqIm4nym/4jab5F6IH2oaMVnOQ2MBbKN5t3UIA3pj9SDKePF X-Received: by 2002:a17:907:971c:b0:78e:63f:c766 with SMTP id jg28-20020a170907971c00b0078e063fc766mr5966793ejc.330.1666172631905; Wed, 19 Oct 2022 02:43:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666172631; cv=none; d=google.com; s=arc-20160816; b=oojlUV1AEsmrhojWolJr3a3RlWCjRmeBPJ0AC/SnqRLAvPHZvNpE/3OuKt+dH9XuD9 gLYajYptujWPDYCkX8Xul687eyfpfWQl0iJO7pDg+ZHVaOEKNzzWzAjq6x+JdeEN8wyU tFEhPAxWGjIxzNBPYdFGMQJFoZUm38QHGrU2XeKPSHjf3lmAx5pCCOYNbMFZj0wC0Krw s8Kp6aMA7G+vrbEM+twe7g5TrCoeBgGJc2J3duNFmTpzpq3+Wq9nVZSOotAjt71MsNkB XzO4I+/wm98PTlV6ubmvecMR089eouXzRf5IEs7wp0CpqoKdrTB1YU+bV55CG2ovK1aJ p8/Q== 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=EEt8qf1qZTfwXe5kIz6/1FdWVrLeWBaH+auZ11Gs/hXcZm99u3sHLIi0/5Ma4DF8wq VMr2pgGkLH29QZbXady3ceK2e4v+D9QggW17S9muVhcklUKaZc7WSe+tmJCbjknIvqHI qrqeYZJLt+Wv5CVAOkAsJzoh/NTYnBpnYavCuvfK3vHHvp2ixnDgCUOzodRvLExboi6e pqerSxMy3wu9MSnosbQFoKPvhAVxNeB9aJhtdxn7WHiQHkHU/yKfViGvjUyYYkEuX4Bw C/KbqLpfdb8YMKjWSh2p0WCb31I+MboN35bZsMoTR1ITLtoOTDISOsrXXHUQ6bjyVUsO 023A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hkyc3FZC; 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 h6-20020a056402280600b0044f3b9ef98bsi17112864ede.27.2022.10.19.02.43.22; Wed, 19 Oct 2022 02:43:51 -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=hkyc3FZC; 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 S233976AbiJSJgZ (ORCPT + 99 others); Wed, 19 Oct 2022 05:36:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233916AbiJSJ3v (ORCPT ); Wed, 19 Oct 2022 05:29:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5850EEC533; Wed, 19 Oct 2022 02:13:28 -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 88019617E4; Wed, 19 Oct 2022 09:13:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75962C433C1; Wed, 19 Oct 2022 09:13:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666170785; bh=pMbxhj9oyvXcVZkWKcZXy1MVAYMbhd3RSfm4nlEApfQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hkyc3FZC6/zZLL7K+dGyIOy0/qzt5n5LqTmuAgSKKpMHsp43Omx3gvEn3ThJj0oO6 tIVLGg3y3NrhKQI5fwqWzXF3RHZzxU5mk2cgbgFTKNKZbqqSf/alqjem4Ob4Lr0Dya TTVQ08wEoxCykn7GLFlwiNK4ihpAHXczFa2CxaDk= 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 6.0 751/862] ASoC: SOF: pci: Change DMI match info to support all Chrome platforms Date: Wed, 19 Oct 2022 10:33:58 +0200 Message-Id: <20221019083323.098712202@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 X-Spam-Status: No, score=-7.4 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?1747108633646238606?= X-GMAIL-MSGID: =?utf-8?q?1747108633646238606?= 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"), } }, {},