Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp676601pxb; Tue, 5 Apr 2022 18:20:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwIqi3w1uU84M2Fq3D4s8fl3smGnf+aY1c0iql9RqmoBkCyHVIGT5EksMBaa5iQfQV6vWz X-Received: by 2002:a05:6a00:22d1:b0:4fa:e87c:9424 with SMTP id f17-20020a056a0022d100b004fae87c9424mr6363798pfj.51.1649208035305; Tue, 05 Apr 2022 18:20:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649208035; cv=none; d=google.com; s=arc-20160816; b=A60rGiX8YMQojw8HxtJVyJ9cqL+grqidb1x2pXud/TZDiqoVM2TAVVKzw8pvkvz+dl UrHdUZP91BjP1KK86xo2MM0n4EKgfeUt+o7l91mFuFd5tP4IPECAno8rFKeSpCrEGDQR leawLhbVTGuuB7RpdUkWDdfK/db9mIRphknIhbQ+yxQnuHkxvYOlXR1DYxEesI7q8DtH VvGxL0GryjZa+ERU12fB+T557SkHIpZC9nFDPjpvKm9xrne9YtfqoRZpr0ZsxQgM9syu pP28eQvG+Lz2UI4nHqRhL6sG1K0UHlGTD/grBDMl8IurWkgi6vFKWHULLw+tmHHoDzQi Dlsg== 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=xidAm9cxLcsLwHoPfuzgKK8SnN7omrSAk4yw3js5Xy0=; b=m/6VSfyjWu/jB06QqwY4H3WN6Q2cVa4oXKMr9sLKmd11s4yizfjBqxA7iBUHytfj8+ m4flMTWTQWEe2xqkRMeeEe8tp/ZolX1ATba8Y5g6Js7x2TZcHHJLD7VXiko05b6gLvhP pgLSroNxz3EAoox+0E2iV39e0ylWBGD3I5P/geg+5nkoQq7a4quDUbRdY9+rrVP4vQiD M5+u5tY4xVgkx2WmHMYkdtoY+5z9LfjYTYSw/ir/9ES3jWi0WGTRj4fiO6s0JWuRSUvO ecmihYoDK3I4McNro3exLakrSFCDePi7bpw2b0j2ei4SDbWgQWm60cWpdJzKhsCqojbu /rkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZNdWOBbf; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u23-20020a170902a61700b0015696d1d95asi8650040plq.225.2022.04.05.18.20.21; Tue, 05 Apr 2022 18:20: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=ZNdWOBbf; 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 S1345853AbiDEKmP (ORCPT + 99 others); Tue, 5 Apr 2022 06:42:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241200AbiDEIcy (ORCPT ); Tue, 5 Apr 2022 04:32:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AAA7711156; Tue, 5 Apr 2022 01:29:31 -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 46F3860B0E; Tue, 5 Apr 2022 08:29:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54247C385A1; Tue, 5 Apr 2022 08:29:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649147370; bh=7uhkbtOUa9s8KzYDK74oftBUK3hU4EOK2/CM37NcBEU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZNdWOBbf8EUHBrRBW44EgONtSetmgrAjpUXhvgkzNQyzTcqRkr+dn5uAlUIcMJ02v /DcX0Rm0cyt7zhErs3sGCgCJXrAe/+VO/qoeyiiWFXW25Km7naOolpZoR9dXH0/gDC +h3/Ztg0KTdKnbhIYe4cVzUK83IT5iA7s9LBMSto= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hulk Robot , Zheng Bin , Pierre-Louis Bossart , Mark Brown Subject: [PATCH 5.17 1101/1126] ASoC: SOF: Intel: Fix build error without SND_SOC_SOF_PCI_DEV Date: Tue, 5 Apr 2022 09:30:48 +0200 Message-Id: <20220405070439.755867249@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070407.513532867@linuxfoundation.org> References: <20220405070407.513532867@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 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,T_SCC_BODY_TEXT_LINE 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 From: Zheng Bin commit 664d66dc0a64b32e60a5ad59a9aebb08676a612b upstream. If SND_SOC_SOF_PCI_DEV is n, bulding fails: sound/soc/sof/intel/pci-tng.o:(.data+0x1c0): undefined reference to `sof_pci_probe' sound/soc/sof/intel/pci-tng.o:(.data+0x1c8): undefined reference to `sof_pci_remove' sound/soc/sof/intel/pci-tng.o:(.data+0x1e0): undefined reference to `sof_pci_shutdown' sound/soc/sof/intel/pci-tng.o:(.data+0x290): undefined reference to `sof_pci_pm' Make SND_SOC_SOF_MERRIFIELD select SND_SOC_SOF_PCI_DEV to fix this. Fixes: 8d4ba1be3d22 ("ASoC: SOF: pci: split PCI into different drivers") Reported-by: Hulk Robot Signed-off-by: Zheng Bin Acked-by: Pierre-Louis Bossart Link: https://lore.kernel.org/r/20220323092501.145879-1-zhengbin13@huawei.com Signed-off-by: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/sof/intel/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/sound/soc/sof/intel/Kconfig +++ b/sound/soc/sof/intel/Kconfig @@ -84,6 +84,7 @@ if SND_SOC_SOF_PCI config SND_SOC_SOF_MERRIFIELD tristate "SOF support for Tangier/Merrifield" default SND_SOC_SOF_PCI + select SND_SOC_SOF_PCI_DEV select SND_SOC_SOF_INTEL_ATOM_HIFI_EP help This adds support for Sound Open Firmware for Intel(R) platforms