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: 5359611 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7D6B49F1E1 for ; Sat, 22 Nov 2014 16:29:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A926620154 for ; Sat, 22 Nov 2014 16:29:25 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 07E1720149 for ; Sat, 22 Nov 2014 16:29:24 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id AC34C26152C; Sat, 22 Nov 2014 17:29:20 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 44C26260694; Sat, 22 Nov 2014 17:29:12 +0100 (CET) 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 97A4B2607F8; Fri, 21 Nov 2014 19:35:32 +0100 (CET) Received: from mail-wg0-f46.google.com (mail-wg0-f46.google.com [74.125.82.46]) by alsa0.perex.cz (Postfix) with ESMTP id 96B1C260694 for ; Fri, 21 Nov 2014 19:35:24 +0100 (CET) Received: by mail-wg0-f46.google.com with SMTP id x12so7283534wgg.19 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=f/Pw8pL2xZ8tJ1Tb9t2SQDAgRpYlXvY+TE8He9s+b53J+JxTKgG6MKO6Ux4HgepO6J psqlx2kKLZ0zwHTmWqo0/0//HI06P1nNQa83iVzO/O4YqGMhQbgQOR97tcnklMqMaLVl mXQ1BrHq5GmNsSBzBTWLcOC8dlirfnZSeXHy43Y6CJjbYkDgMfJhTneTxFWbGUkMq0hD rIbpnsON6Kfesa/cwSfKMrLhNjdoBVp6Yvd8vVp513rSaTAE7iy9WtwwP/6reDMvwKZy /OV0OkIVd80VqfKwsUcqjwcoACvDa7jUjL28tYlbkvZlAg/PbzGCcin9rxprLLkDyXfB 1doA== X-Gm-Message-State: ALoCoQnNdMOvQm2uqElvccvZYid7cIt8XReXPlrkrev9h/gxaog2CZRPkTuM4mTkUnGdhwPShMhu 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 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-Mailman-Approved-At: Sat, 22 Nov 2014 17:29:09 +0100 Cc: alsa-devel@alsa-project.org, Takashi Iwai , linux-kernel@vger.kernel.org, Liam Girdwood , linux-rockchip@lists.infradead.org, Mark Brown , Andreas Ruprecht , linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH] ASoC: rockchip: i2s: Add dependency to I2S device driver 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 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