Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp9078614pxu; Mon, 28 Dec 2020 06:08:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJz/lvoFZvNHeGdYvhOfW3BEcz1rFWAmzPF2O0SqIyzOWCquktCIWSTcxT20IsHXZKBeIzbd X-Received: by 2002:a17:906:cce9:: with SMTP id ot41mr3254194ejb.46.1609164491708; Mon, 28 Dec 2020 06:08:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609164491; cv=none; d=google.com; s=arc-20160816; b=wROHxqEa8EUzWQcZLZN6lq6SWNrII6toXrclB38iPKPDYlvGuE8ItOpo3vNjaJ2aOx JVK79rzDUCNLSPq3tRbCOA6r9cEODEVbtbxx8SiRxwAAjrvNQO4kpaWyG+tOib2bvOUX OgHMaBGZw8011sFIUjZOc7MwsAfnEjjDDZcaYyTsNUkEfc2EbVwMj1INBZ9kB1d/yqQ4 T3DXtnZP+7fp3YDEIFNLaopLARYtoCcDTEZ7Mym1JoTWL8OBou6AJuxQa0bzAcmbZ1Qw VybIbdc2B8YDIe9ad26Rcbtzkay8ZSETzZy9QsJQLFVGe2K1zQW+pUretyP5tXw8oIIA IujQ== 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=4FL3vpcnzHuat7IwwhTKjSXZYH5ZgqHpAJaxYbzOgVc=; b=z5Use++Xyoo2vBL5O4HndoS1z87THMUomWG4D5eaAAnUkeMO4QofS6AFAN8Z9lthjv ccwjKOvv+1HFVDrvaaliVGViezRgI04eOY7//O5tPrHCjkolsxMWcnlugPWmP3vC0Ign ZgTc9NqDsqtsmlliZI76c/rb/ZNW9YI85b8S874W3R3KLV0jJEhYhG5AxlN1OHHc74o1 RQc/DyCMW8Fl1TBXxkOVMMGFbB/SrnzQ8gJzqGVe1wBqjNkyJC0cl46o0hTxDvfjUDX7 9F4iblPHcUs7f05RVc5ITBsCHjKXkWwZHPiEgIyHbeza4DDL7SnolLvqYlJoCRweFgXh 8OCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qN5nqp9M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f12si23083515edx.584.2020.12.28.06.07.48; Mon, 28 Dec 2020 06:08:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qN5nqp9M; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2437607AbgL1OFW (ORCPT + 99 others); Mon, 28 Dec 2020 09:05:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:39074 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2437532AbgL1OFT (ORCPT ); Mon, 28 Dec 2020 09:05:19 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id EC7E2207A9; Mon, 28 Dec 2020 14:05:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164304; bh=21FYGqVC1z0eJGGQxrLtnRGnz0bhP/bvZMliT1llGHI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qN5nqp9Mwxc5uYI71p61vHGm0U1QxyTWL2Ir4v6OZcq5huTTb4syW2ZxfPnzyOQTo Pw9eT/y1z29JUnWgAjNHMwiL3C1kVcRc0NHbzXZPtSCOKptF2LZeYv4CMC5Xe7YPlT TpecS+02KYwbkY9843n4ozN7CN+6JInfxi3DWHro= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Jerome Brunet , Mark Brown , Sasha Levin Subject: [PATCH 5.10 133/717] ASoC: meson: fix COMPILE_TEST error Date: Mon, 28 Dec 2020 13:42:11 +0100 Message-Id: <20201228125027.321643211@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jerome Brunet [ Upstream commit 299fe9937dbd1a4d9a1da6a2b6f222298534ca57 ] When compiled with CONFIG_HAVE_CLK, the kernel need to get provider for the clock API. This is usually selected by the platform and the sound drivers should not really care about this. However COMPILE_TEST is special and the platform required may not have been selected, leading to this type of error: > aiu-encoder-spdif.c:(.text+0x3a0): undefined reference to `clk_set_parent' Since we need a sane provider of the API with COMPILE_TEST, depends on COMMON_CLK. Fixes: 6dc4fa179fb8 ("ASoC: meson: add axg fifo base driver") Reported-by: kernel test robot Signed-off-by: Jerome Brunet Link: https://lore.kernel.org/r/20201116172423.546855-1-jbrunet@baylibre.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/meson/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/meson/Kconfig b/sound/soc/meson/Kconfig index 363dc3b1bbe47..ce0cbdc69b2ec 100644 --- a/sound/soc/meson/Kconfig +++ b/sound/soc/meson/Kconfig @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only menu "ASoC support for Amlogic platforms" - depends on ARCH_MESON || COMPILE_TEST + depends on ARCH_MESON || (COMPILE_TEST && COMMON_CLK) config SND_MESON_AIU tristate "Amlogic AIU" -- 2.27.0