Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp622057pxb; Tue, 5 Apr 2022 16:15:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzBsbL7I6qwiaVqwO0NV8bweBjftBv1kbEImIOcoR6J1WkfNpw0J0PC333cwWNPyFrKoS/q X-Received: by 2002:a17:90a:bf85:b0:1ca:8a8e:bec3 with SMTP id d5-20020a17090abf8500b001ca8a8ebec3mr6701644pjs.127.1649200523157; Tue, 05 Apr 2022 16:15:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649200523; cv=none; d=google.com; s=arc-20160816; b=yh7CLdwq3jFLpLZKN6uqLxG35CA+VafwTefLiJcyNTGZxb8KMYyu4YhildY7oyLjrN rIGXwzE++/3bWztw1CSqDGInXgJV/0+EF9MqS5WpWoxUDaVXnFf/mY1++IZ2URphtAki LfiGMcM8jV4H4V3PJIL7jA6A/ZTVG51ucdiqbpwJM178xFH/cots4DYcJmzKyBPcam79 o5UQR+NlwP5UAhy2XH9qXAiAsRTOMcDe84fyOkBIDl6fwd52rrOGhfeOmC2X6RFmiBxw 9DACQJ6SLCr5teVVz+Ofbb29jT6ZzBGkwJddB60vlgxmhP6lcSyV2c9ArqayX8TzSnZV WIWA== 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=tiVF+qi+dghozEoxoKaAGhMRV30KxpXSSl1MZ1DTd+gn7BjrTSoIz1AZGEsSohTqAV L7sNDkdeyPRZsz0ly7E6M2xGCHiZK2uwnir0DEyCw+hYYj0oqFtTCCHa2iPA5Xpj81xH CyRq7huhSJpQtFdTemd+kkcl59Vxr77+NlSScSIqkYSHNbAFS8GcWgjI4SoZLwRs87wi p6vzLGHdyfnKpmAScmeF3Ki7mbTyjY1QPsE/pUPILBp1gfJvAqbsY4+7et7J0/KP296l C1lNMHoFQ5F9jVL3jv2eEW+T1uEYw9Xh3yJCWqD2eQz65sawmpv0LaxtMz+yRm2q0D29 9Zug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GtnkkaAW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g5-20020a17090a578500b001c6953a47c9si3189182pji.151.2022.04.05.16.15.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 16:15:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=GtnkkaAW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7206821F760; Tue, 5 Apr 2022 16:00:08 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343958AbiDEOAd (ORCPT + 99 others); Tue, 5 Apr 2022 10:00:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238273AbiDEJ3Q (ORCPT ); Tue, 5 Apr 2022 05:29:16 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12808E29F9; Tue, 5 Apr 2022 02:16:48 -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 6D47F615E4; Tue, 5 Apr 2022 09:16:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77B46C385A0; Tue, 5 Apr 2022 09:16:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649150206; bh=7uhkbtOUa9s8KzYDK74oftBUK3hU4EOK2/CM37NcBEU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GtnkkaAWYzTzdlXQCQ6DjohZ+bWGvg/XjOcVyWh6aeQAMficZCkhmu9QVudoFf/+T i62r9Y/Lfa8z/6Ze+18YJgzB+WWv2RMlOFg4j9jNBv81rQwcb2YQsGQG9RcsJFe8XB xXBWKFhX8g+t3pbxM3eO/3GjPOs2jmJ9+QN/1Xh4= 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.16 0991/1017] ASoC: SOF: Intel: Fix build error without SND_SOC_SOF_PCI_DEV Date: Tue, 5 Apr 2022 09:31:44 +0200 Message-Id: <20220405070423.618095743@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@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=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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