aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Ruprecht <rupran@einserver.de>2014-11-21 14:50:46 -0500
committerMark Brown <broonie@kernel.org>2014-11-24 14:01:18 -0500
commit8d213de7ffff614e3aa751a31a8980e1be3036e1 (patch)
tree54dfbc237c94e6a9ba858fb391e7512748a82d6e
parent9ce63dbd5d2671a209a859ee90f7dc6b8f22f28e (diff)
ASoC: rockchip: i2s: Fix Kconfig for I2S device driver
Currently, CONFIG_SND_SOC_ROCKCHIP_I2S could also be selected without having CONFIG_SND_SOC_ROCKCHIP enabled. As this makes no sense, 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. Additionally, as the code connected to CONFIG_SND_SOC_ROCKCHIP_I2S depends on CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM, the dependency is moved to reflect this more clearly. Signed-off-by: Andreas Ruprecht <rupran@einserver.de> Reported-by: Jim Davis <jim.epost@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/rockchip/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/rockchip/Kconfig b/sound/soc/rockchip/Kconfig
index b1fc0ca3e617..e18182699d83 100644
--- a/sound/soc/rockchip/Kconfig
+++ b/sound/soc/rockchip/Kconfig
@@ -1,7 +1,6 @@
1config SND_SOC_ROCKCHIP 1config SND_SOC_ROCKCHIP
2 tristate "ASoC support for Rockchip" 2 tristate "ASoC support for Rockchip"
3 depends on COMPILE_TEST || ARCH_ROCKCHIP 3 depends on COMPILE_TEST || ARCH_ROCKCHIP
4 select SND_SOC_GENERIC_DMAENGINE_PCM
5 help 4 help
6 Say Y or M if you want to add support for codecs attached to 5 Say Y or M if you want to add support for codecs attached to
7 the Rockchip SoCs' Audio interfaces. You will also need to 6 the Rockchip SoCs' Audio interfaces. You will also need to
@@ -9,7 +8,8 @@ config SND_SOC_ROCKCHIP
9 8
10config SND_SOC_ROCKCHIP_I2S 9config SND_SOC_ROCKCHIP_I2S
11 tristate "Rockchip I2S Device Driver" 10 tristate "Rockchip I2S Device Driver"
12 depends on CLKDEV_LOOKUP 11 depends on CLKDEV_LOOKUP && SND_SOC_ROCKCHIP
12 select SND_SOC_GENERIC_DMAENGINE_PCM
13 help 13 help
14 Say Y or M if you want to add support for I2S driver for 14 Say Y or M if you want to add support for I2S driver for
15 Rockchip I2S device. The device supports upto maximum of 15 Rockchip I2S device. The device supports upto maximum of