summaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dpcm.h
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2012-04-25 12:12:50 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-26 17:48:19 +0100
commitf86dcef87b771935c223334324a93c1d71f7a84c (patch)
tree06af2bd5a2da54c323acddace8a603bf9475c489 /include/sound/soc-dpcm.h
parent01d7584cd2e5a93a2b959c9dddaa0d93ec205404 (diff)
downloadop-kernel-dev-f86dcef87b771935c223334324a93c1d71f7a84c.zip
op-kernel-dev-f86dcef87b771935c223334324a93c1d71f7a84c.tar.gz
ASoC: dpcm: Add debugFS support for DPCM
Add debugFS files for DPCM link management information. Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound/soc-dpcm.h')
-rw-r--r--include/sound/soc-dpcm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sound/soc-dpcm.h b/include/sound/soc-dpcm.h
index cd72c10..e307fa3 100644
--- a/include/sound/soc-dpcm.h
+++ b/include/sound/soc-dpcm.h
@@ -81,6 +81,9 @@ struct snd_soc_dpcm {
/* hw params for this link - may be different for each link */
struct snd_pcm_hw_params hw_params;
+#ifdef CONFIG_DEBUG_FS
+ struct dentry *debugfs_state;
+#endif
};
/*
@@ -128,5 +131,6 @@ void snd_soc_dpcm_be_set_state(struct snd_soc_pcm_runtime *be, int stream,
/* internal use only */
int soc_dpcm_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute);
+int soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd);
#endif
OpenPOWER on IntegriCloud