ASoC: rockchip: i2s: Fix Kconfig for I2S device driver
authorAndreas Ruprecht <rupran@einserver.de>
Fri, 21 Nov 2014 19:50:46 +0000 (20:50 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 24 Nov 2014 19:01:18 +0000 (19:01 +0000)
commit8d213de7ffff614e3aa751a31a8980e1be3036e1
tree54dfbc237c94e6a9ba858fb391e7512748a82d6e
parent9ce63dbd5d2671a209a859ee90f7dc6b8f22f28e
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>
sound/soc/rockchip/Kconfig