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: 9293521 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 5F189607D0 for ; Mon, 22 Aug 2016 13:10:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 532A927EE2 for ; Mon, 22 Aug 2016 13:10:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 41892286FE; Mon, 22 Aug 2016 13:10:15 +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=-1.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0927427EE2 for ; Mon, 22 Aug 2016 13:10:13 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id E028D266BCE; Mon, 22 Aug 2016 15:10:11 +0200 (CEST) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 23CEA2664B3; Mon, 22 Aug 2016 15:07:33 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 494DA266998; Mon, 22 Aug 2016 14:13:05 +0200 (CEST) Received: from mail-qk0-f196.google.com (mail-qk0-f196.google.com [209.85.220.196]) by alsa0.perex.cz (Postfix) with ESMTP id 2D870266982 for ; Mon, 22 Aug 2016 14:12:58 +0200 (CEST) Received: by mail-qk0-f196.google.com with SMTP id o1so8335905qkd.2 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=T3hmtCGmWHHUjUk8dD7ivowbDC8LdNwx2tQct6927F+a/pu2hVj8XxdvP7o+sK/yhI CmpKYBhFtp77TK5J4e0tuGVa6OJO1yCULLA6UJ8PUDyElyTC3dm/Y+vplGPaBYci+3w+ 3RFsDV4J3VaEMTA7JtfFfxtDnFfBe6bA1V6+QpexAc+3z365m5a+FABD+AvVhmmJxS+I sxtziMBmi5HXUdl1dZtpsjhqE0kYjLfPbcC5WpBwYoaJtw5drs1A2wSaI5IFQLvm4kVg nGrlv7RnNowqkPBZCZwcKxD7P8NZKE72H9msAu938bIU1Y5+cvsUtVfGrXknUKVEYkPo fKQg== X-Gm-Message-State: AEkoous+6WXYipE84BMWcnr6yoKGgpvV/vwECxSGN5BjLejDbcTCtYy3hHJGhxMueSMJfQ== 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 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-Mailman-Approved-At: Mon, 22 Aug 2016 15:07:30 +0200 Cc: Peter Robinson Subject: [alsa-devel] [PATCH] ASoC: sunxi: depend on ARCH_SUNXI X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.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