From patchwork Mon Dec 28 12:46:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 352729 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp9843760jai; Mon, 28 Dec 2020 07:49:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJygNjkyG2TOD1jE9kOX7U5XM7f8LR8hHAW52JGeY09QsBDDmEzWQDkPe9QbzSDU2L/T8HVd X-Received: by 2002:a05:6402:797:: with SMTP id d23mr42299575edy.302.1609170444079; Mon, 28 Dec 2020 07:47:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609170444; cv=none; d=google.com; s=arc-20160816; b=QvUV9VrmAi32+7+wLU9fbTl+gOL92duw6Gtb6LAv6sV/y3zWuftVFGqe2KdJn6n6By hVoJy/t6QVU9qWdCh1YKkhaQrAddA2AfvfKle/c7hvqhalzA0Y//i/J4kbq0dWTYO8qB lcL6dmraNu3Hidhyc/MHRR86D/lmyd1EpzgTYdZrdh/P7XQId7O2yZpE7/R4GShh4TtK UDzz/Bb0sR0R3q0Mnlu5jJFawGCkG1CzKF7XnqHRXGPRdod+o4I/fGKtpXBkOpNfda/z WzobuDu2JQvdujgVtEzAiTjCE5yw0YztgNVsWGa3yRh68YgzLI6MbF+Mzx+tptJVy72s n4xw== 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=j2mVPVgpdxk3uqzcC/xLSd2eb8Te3m/+qWkAzIbS+SQ=; b=NXvOm1PLI6iFZ7KT6OugTwDn8frryic7P4lLDgKmg9L524erEO58Tc9owt6ZCa/YaA 6VoZis1paOoItj+R31pvVMf5kdNYm92sILnhHxhwRWJgzbu7XkkWDplSMB4ismqWemqe t+Qf6vnaEqpJXfzvev1YNHqHLfslAE67kbtpjEi519eLWv/32fW0vcwRCPbdLg88vDNp Bd5+3caEdXE69bAuq3wn0yyboecg9JrMzxUjkBZenuZIrAGtea65HgRGfPxKIR54fAJN AQQy/YR2oib9e5NCUIDOGuJkAmy3C/CX0f5uXI0DgHgrCyO6zCHaIg+ffHjAu8fPUYrO b/CQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XgctZQ1R; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 ca21si5767257ejb.587.2020.12.28.07.47.23; Mon, 28 Dec 2020 07:47:24 -0800 (PST) Received-SPF: pass (google.com: domain of stable-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=XgctZQ1R; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 S2392002AbgL1Nod (ORCPT + 14 others); Mon, 28 Dec 2020 08:44:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:44922 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391994AbgL1Nod (ORCPT ); Mon, 28 Dec 2020 08:44:33 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 10EF2206D4; Mon, 28 Dec 2020 13:44:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609163057; bh=7ZHXY9GvIdgV9UtZpoUr77Rfjkpt79bSQK93shU30A8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XgctZQ1RZLNodW6DvTCVjfzAWZsThywLQiQ3XScvRS1B6SIdpECZPe8Fff0/0oD/S 5P2bd5js2r0ERWxsqubS3nz+OFhz5wIWB+N0j5In07BuiMt+ItnOAAGPehasiKPcax 19WIWB1N+vCQLokSDAjtpKBHi/oiebnHWDBrfssc= 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.4 137/453] ASoC: meson: fix COMPILE_TEST error Date: Mon, 28 Dec 2020 13:46:13 +0100 Message-Id: <20201228124943.798416608@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228124937.240114599@linuxfoundation.org> References: <20201228124937.240114599@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@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(-) -- 2.27.0 diff --git a/sound/soc/meson/Kconfig b/sound/soc/meson/Kconfig index 2e3676147ceaf..e0d24592ebd70 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_AXG_FIFO tristate