summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/skylake/Makefile
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2017-06-30 05:36:05 +0200
committerMark Brown <broonie@kernel.org>2017-06-30 14:27:55 +0200
commit5cdf6c09ca9de3f037ba2d770206f3374459602d (patch)
treee9513d3eb62be6b9dfc7ca88f197e217c866285c /sound/soc/intel/skylake/Makefile
parentASoC: fix semicolon.cocci warnings (diff)
downloadlinux-5cdf6c09ca9de3f037ba2d770206f3374459602d.tar.xz
linux-5cdf6c09ca9de3f037ba2d770206f3374459602d.zip
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