From 1f9341aa31ab34d4e73ffe03efa4748bff49ca93 Mon Sep 17 00:00:00 2001 From: Songhee Baek Date: Tue, 29 Jul 2014 11:25:57 -0700 Subject: [PATCH] ASoC: tegra-alt: select hwdep to be compiled This change is needed by tegra-alt asoc driver compilation with hwdep device. Bug 1531057 Change-Id: I39a7c97acb4bb360df4e366658d0705b5df910bb Signed-off-by: Songhee Baek Reviewed-on: http://git-master/r/448517 Reviewed-by: Arun Shamanna Lakshmi Tested-by: Justin Kim (SW-TEGRA) Reviewed-by: Bob Johnston GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Cherry --- sound/soc/tegra-alt/Kconfig | 8 ++++++++ sound/soc/tegra-alt/Makefile | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/sound/soc/tegra-alt/Kconfig b/sound/soc/tegra-alt/Kconfig index 733dd2a7..7043d47a 100644 --- a/sound/soc/tegra-alt/Kconfig +++ b/sound/soc/tegra-alt/Kconfig @@ -148,6 +148,13 @@ config SND_SOC_TEGRA210_ADSP_ALT help Say Y or M if you want to add support for Tegra210 ADSP module. +config SND_SOC_TEGRA_ASOC_HWDEP_ALT + tristate "Tegra asoc hwdep driver" + depends on SND_SOC_TEGRA_ALT + select SND_HWDEP + help + Say Y or M if you want to add support for Tegra ASoC HWDEP module. + config SND_SOC_TEGRA_VCM30T124_ALT tristate "SoC Audio support for VCM30_T124" depends on SND_SOC_TEGRA_ALT @@ -164,6 +171,7 @@ config SND_SOC_TEGRA_VCM30T124_ALT select SND_SOC_WM8731 select SND_SOC_SPDIF select SND_SOC_AK4618 + select SND_SOC_TEGRA_ASOC_HWDEP_ALT help Say Y or M here if you want to add support for SoC audio on the TEGRA VCM30_T124 using wm8731 and ad1937 codecs or using ak4618 diff --git a/sound/soc/tegra-alt/Makefile b/sound/soc/tegra-alt/Makefile index a77999ec..ce3b0b30 100644 --- a/sound/soc/tegra-alt/Makefile +++ b/sound/soc/tegra-alt/Makefile @@ -30,8 +30,8 @@ snd-soc-tegra210-alt-fpga-clock-objs := ahub_unit_fpga_clock.o obj-$(CONFIG_SND_SOC_TEGRA_ALT) += snd-soc-tegra-alt-utils.o obj-$(CONFIG_SND_SOC_TEGRA_ALT) += snd-soc-tegra-alt-pcm.o -obj-$(CONFIG_SND_SOC_TEGRA_ALT) += snd-soc-tegra-alt-hwdep.o obj-$(CONFIG_SND_SOC_TEGRA_ALT) += snd-soc-tegra210-alt-fpga-clock.o +obj-$(CONFIG_SND_SOC_TEGRA_ASOC_HWDEP_ALT) += snd-soc-tegra-alt-hwdep.o obj-$(CONFIG_SND_SOC_TEGRA30_APBIF_ALT) += snd-soc-tegra30-alt-apbif.o obj-$(CONFIG_SND_SOC_TEGRA30_XBAR_ALT) += snd-soc-tegra30-alt-xbar.o obj-$(CONFIG_SND_SOC_TEGRA30_I2S_ALT) += snd-soc-tegra30-alt-i2s.o