summaryrefslogtreecommitdiff
path: root/sound/soc/intel/skylake/Makefile
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2017-06-30 06:36:05 +0300
committerMark Brown <broonie@kernel.org>2017-06-30 15:27:55 +0300
commit5cdf6c09ca9de3f037ba2d770206f3374459602d (patch)
treee9513d3eb62be6b9dfc7ca88f197e217c866285c /sound/soc/intel/skylake/Makefile
parent46b5a4d249ac6798cee28de9f51ef80777d16a3e (diff)
downloadlinux-5cdf6c09ca9de3f037ba2d770206f3374459602d.tar.xz
ASoC: Intel: Skylake: Add debugfs support
For debug, the kernel debugfs mechanism is available. We can add various debug options for driver like module configuration read, firmware register read etc. This patch adds debugfs as a child to asoc plaform component and caller is added for skylake driver to do init and cleanup of debugfs. Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Vunny Sodhi <vunnyx.sodhi@intel.com> Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/Makefile')
-rw-r--r--sound/soc/intel/skylake/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/intel/skylake/Makefile b/sound/soc/intel/skylake/Makefile
index 60fbc9bbe473..e7d77722d560 100644
--- a/sound/soc/intel/skylake/Makefile
+++ b/sound/soc/intel/skylake/Makefile
@@ -1,6 +1,10 @@
snd-soc-skl-objs := skl.o skl-pcm.o skl-nhlt.o skl-messages.o \
skl-topology.o
+ifdef CONFIG_DEBUG_FS
+ snd-soc-skl-objs += skl-debug.o
+endif
+
obj-$(CONFIG_SND_SOC_INTEL_SKYLAKE) += snd-soc-skl.o
# Skylake IPC Support