All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: rockchip: i2s: Add dependency to I2S device driver
@ 2014-11-21 18:35 ` Andreas Ruprecht
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Ruprecht @ 2014-11-21 18:35 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	linux-arm-kernel, linux-rockchip, alsa-devel, linux-kernel,
	Andreas Ruprecht

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 <rupran@einserver.de>
Reported-by: Jim Davis <jim.epost@gmail.com>
---
 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
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-11-24 19:01 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-21 18:35 [PATCH] ASoC: rockchip: i2s: Add dependency to I2S device driver Andreas Ruprecht
2014-11-21 18:35 ` Andreas Ruprecht
2014-11-21 18:58 ` Mark Brown
2014-11-21 18:58   ` Mark Brown
2014-11-21 19:42   ` Andreas Ruprecht
2014-11-21 19:42     ` Andreas Ruprecht
2014-11-21 19:50   ` [PATCH v2] ASoC: rockchip: i2s: Fix Kconfig for " Andreas Ruprecht
2014-11-21 19:50     ` Andreas Ruprecht
2014-11-24 19:01     ` Mark Brown
2014-11-24 19:01       ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.