From patchwork Mon Aug 22 12:12:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 9293439 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 03188607F0 for ; Mon, 22 Aug 2016 12:14:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DC5EA2875B for ; Mon, 22 Aug 2016 12:14:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D08592895B; Mon, 22 Aug 2016 12:14:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6EF812875B for ; Mon, 22 Aug 2016 12:14:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bbo6W-0000rM-1L; Mon, 22 Aug 2016 12:13:24 +0000 Received: from mail-qk0-x241.google.com ([2607:f8b0:400d:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bbo6Q-0000ma-S4 for linux-arm-kernel@lists.infradead.org; Mon, 22 Aug 2016 12:13:19 +0000 Received: by mail-qk0-x241.google.com with SMTP id v123so8312111qkh.3 for ; Mon, 22 Aug 2016 05:12:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=B9QVv2EZYORTggNZjHI/tQhEx8rUf6/Iun2vcW9nZss=; b=Xy2UT0xVvSwD44BTsCEHRpqe/3YISRjvIFqgR1/2MmBRaVPCjDSzOoZBFUwcAD4ol6 wQt94wIBkk40rkcbm41xRVgZrzxpjXQ/KS1N6gDy/E16RIAgye5tkTGbFTMCsVSC8AvF pQDRajDqjyzVbYSgBUcXLFQ0DZ3Ld4onGbyMPGbeymI6RP/ZwghadWXJ/Xto/oIAJIx3 PckFSvU7KPr/80kvrwa0Y0/Jn3fTYilY4bVlKPmnfT0pjdegu5ORll8Fd2GrXj+SpRTp Avqgj2bmXuYI0Ff6uhENr+mApJuIZFh3cqa3DECUeYDTsFLUZ+eNCUHQecGDzd4ocyem jhzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=B9QVv2EZYORTggNZjHI/tQhEx8rUf6/Iun2vcW9nZss=; b=VLFSv49OxBCWz0M4paGazAOy03x449eqty3jmgOYUtU/i9rZ4Wip9hd5bRtIH+9A0X NQG6t1cKon+AsaRYImnkq5IqJVSJWk78TQCRQlZw7+ST5H/LKyqs57P1r8UQXgDhDdKJ 7Jmv1AsTIKFvnjciQrvyY/6o/pNZkuiHwb6P3+8OM3knpK+Pwpquor9srpgvtXryggld lveZaxF9hzbVUy5+GYTBOG7aNQzg3ZUnfy+xZMH/Moz5e+GWjEV+uoXNOUaUG4Gh2/0o X4QSfED4TTWonJIFsW2GW7aPkkovz/DEEnIO1kkXsV0UH0K7zB99gB6s7ZixH7XFrav2 o89w== X-Gm-Message-State: AEkooutTKqq0/i5MzpZWlTtfIdup2s8jJOxIgYDY3js0qoprIFBpSx9ATmKOtEpU6C5v4Q== X-Received: by 10.55.167.69 with SMTP id q66mr22861497qke.287.1471867977458; Mon, 22 Aug 2016 05:12:57 -0700 (PDT) Received: from neo.roving-it.com.com (f.2.f.a.a.8.e.f.f.f.5.c.0.e.e.5.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681:5ee0:c5ff:fe8a:af2f]) by smtp.googlemail.com with ESMTPSA id a193sm11040491qkc.24.2016.08.22.05.12.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Aug 2016 05:12:54 -0700 (PDT) From: Peter Robinson To: maxime.ripard@free-electrons.com, broonie@kernel.org, lgirdwood@gmail.com, wens@csie.org, alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] ASoC: sunxi: depend on ARCH_SUNXI Date: Mon, 22 Aug 2016 13:12:42 +0100 Message-Id: <20160822121242.18827-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160822_051319_048172_AA9B36B9 X-CRM114-Status: GOOD ( 10.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Robinson MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Depend on ARCH_SUNXI or COMPILE_TEST as it doesn't make sense to enable these if the appropriate SoC they're embedded in isn't enabled. Signed-off-by: Peter Robinson Acked-by: Maxime Ripard --- sound/soc/sunxi/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/soc/sunxi/Kconfig b/sound/soc/sunxi/Kconfig index 2a954bd..a2b62dc5 100644 --- a/sound/soc/sunxi/Kconfig +++ b/sound/soc/sunxi/Kconfig @@ -2,6 +2,7 @@ menu "Allwinner SoC Audio support" config SND_SUN4I_CODEC tristate "Allwinner A10 Codec Support" + depends on ARCH_SUNXI || COMPILE_TEST select SND_SOC_GENERIC_DMAENGINE_PCM select REGMAP_MMIO help @@ -10,6 +11,7 @@ config SND_SUN4I_CODEC config SND_SUN4I_I2S tristate "Allwinner A10 I2S Support" + depends on ARCH_SUNXI || COMPILE_TEST select SND_SOC_GENERIC_DMAENGINE_PCM select REGMAP_MMIO help @@ -19,7 +21,7 @@ config SND_SUN4I_I2S config SND_SUN4I_SPDIF tristate "Allwinner A10 SPDIF Support" - depends on OF + depends on OF && (ARCH_SUNXI || COMPILE_TEST) select SND_SOC_GENERIC_DMAENGINE_PCM select REGMAP_MMIO help