Skip to content

Commit

Permalink
ASoC: rockchip-i2s: fix rockchip i2s defination more reasonable
Browse files Browse the repository at this point in the history
Fix SND_ROCKCHIP_I2S to be more reasonable - SND_SOC_ROCKCHIP_I2S,
SND_SOC_ROCKCHIP_I2S should select by audio driver, instead of
SND_SOC_ROCKCHIP.

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Jianqun authored and Mark Brown committed Sep 13, 2014
1 parent 01605ad commit 38306af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions sound/soc/rockchip/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ config SND_SOC_ROCKCHIP
tristate "ASoC support for Rockchip"
depends on COMPILE_TEST || ARCH_ROCKCHIP
select SND_SOC_GENERIC_DMAENGINE_PCM
select SND_ROCKCHIP_I2S
help
Say Y or M if you want to add support for codecs attached to
the Rockchip SoCs' Audio interfaces. You will also need to
select the audio interfaces to support below.

config SND_ROCKCHIP_I2S
config SND_SOC_ROCKCHIP_I2S
tristate
2 changes: 1 addition & 1 deletion sound/soc/rockchip/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ROCKCHIP Platform Support
snd-soc-i2s-objs := rockchip_i2s.o

obj-$(CONFIG_SND_ROCKCHIP_I2S) += snd-soc-i2s.o
obj-$(CONFIG_SND_SOC_ROCKCHIP_I2S) += snd-soc-i2s.o

0 comments on commit 38306af

Please sign in to comment.