From patchwork Fri Nov 21 18:35:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Ruprecht X-Patchwork-Id: 5357261 Return-Path: X-Original-To: patchwork-linux-rockchip@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 55612C11AC for ; Fri, 21 Nov 2014 18:36:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 90FAA201B9 for ; Fri, 21 Nov 2014 18:36:52 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C033620160 for ; Fri, 21 Nov 2014 18:36:51 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xrt4c-0004BU-G2; Fri, 21 Nov 2014 18:36:50 +0000 Received: from mail-wg0-f50.google.com ([74.125.82.50]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xrt3d-0002yk-17 for linux-rockchip@lists.infradead.org; Fri, 21 Nov 2014 18:35:50 +0000 Received: by mail-wg0-f50.google.com with SMTP id k14so7204793wgh.23 for ; Fri, 21 Nov 2014 10:35:24 -0800 (PST) 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=WBzR8YF/YQhIpWpz3OjwX0PHFnA/BfDRS4c5mnZBjkE=; b=RO3oo0m2NZgcg9FUok0V9Q5zXpD1YdGKn2yHyOpI0AFGMK3I21fFakSgYPs6VGEBnv vILW3581prM2unbjbh5zZFVyPhq9zsXnRPstx3s+Y9oUbCqKZPq8sLpWBy2WQGtmDQmV c1mV6ZbOleq37VUi73nBxHQSyzK6oDK30XZtwIDCX/9LrdN2hfyB08oq0/bIxq2Hmwi3 3fQ61RT5oLTlz02vlGUMreFXnYLl42Uy1kw7b0pyYjjMKZuGdelCm7cfVms3FOJ0J4u7 vanR5ws61JZRvPqXGTWKoOUDdpaL4NHWvnueLxG2qIhVArwDJdaBXx81pPSzoreTsxFr RIAg== X-Gm-Message-State: ALoCoQmqJ1vPwcd2mbsSsnQhXMq3OrsmXlCU2AcoZP+0TKN9M5IKnGeflloOctvZYxf2UpYOEEv+ X-Received: by 10.180.101.200 with SMTP id fi8mr2864672wib.77.1416594924203; Fri, 21 Nov 2014 10:35:24 -0800 (PST) Received: from faui49t.informatik.uni-erlangen.de (faui49t.informatik.uni-erlangen.de. [131.188.42.17]) by mx.google.com with ESMTPSA id fp9sm171404wic.12.2014.11.21.10.35.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 21 Nov 2014 10:35:23 -0800 (PST) From: Andreas Ruprecht To: Heiko Stuebner Subject: [PATCH] ASoC: rockchip: i2s: Add dependency to I2S device driver Date: Fri, 21 Nov 2014 19:35:13 +0100 Message-Id: <1416594913-30187-1-git-send-email-rupran@einserver.de> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141121_103549_222510_F29E47A2 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: alsa-devel@alsa-project.org, Takashi Iwai , linux-kernel@vger.kernel.org, Liam Girdwood , Jaroslav Kysela , linux-rockchip@lists.infradead.org, Mark Brown , Andreas Ruprecht , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Currently, CONFIG_SND_SOC_ROCKCHIP_I2S could also be selected without having CONFIG_SND_SOC_ROCKCHIP enabled. As this makes no sense (and breaks the build, when the option CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM - which would be selected by CONFIG_SND_SOC_ROCKCHIP - is not enabled), a Kconfig dependency is added to CONFIG_SND_SOC_ROCKCHIP_I2S. This will make the item visible only if CONFIG_SND_SOC_ROCKCHIP is enabled. Signed-off-by: Andreas Ruprecht Reported-by: Jim Davis --- sound/soc/rockchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/rockchip/Kconfig b/sound/soc/rockchip/Kconfig index b1fc0ca..74380b4 100644 --- a/sound/soc/rockchip/Kconfig +++ b/sound/soc/rockchip/Kconfig @@ -9,7 +9,7 @@ config SND_SOC_ROCKCHIP config SND_SOC_ROCKCHIP_I2S tristate "Rockchip I2S Device Driver" - depends on CLKDEV_LOOKUP + depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP help Say Y or M if you want to add support for I2S driver for Rockchip I2S device. The device supports upto maximum of