aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc-dpcm.h
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2012-04-25 07:12:50 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-26 12:48:19 -0400
commitf86dcef87b771935c223334324a93c1d71f7a84c (patch)
tree06af2bd5a2da54c323acddace8a603bf9475c489 /include/sound/soc-dpcm.h
parent01d7584cd2e5a93a2b959c9dddaa0d93ec205404 (diff)
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 cd72c1090586..e307fa30231a 100644
--- a/include/sound/soc-dpcm.h
+++ b/include/sound/soc-dpcm.h
@@ -81,6 +81,9 @@ struct snd_soc_dpcm {
81 81
82 /* hw params for this link - may be different for each link */ 82 /* hw params for this link - may be different for each link */
83 struct snd_pcm_hw_params hw_params; 83 struct snd_pcm_hw_params hw_params;
84#ifdef CONFIG_DEBUG_FS
85 struct dentry *debugfs_state;
86#endif
84}; 87};
85 88
86/* 89/*
@@ -128,5 +131,6 @@ void snd_soc_dpcm_be_set_state(struct snd_soc_pcm_runtime *be, int stream,
128 131
129/* internal use only */ 132/* internal use only */
130int soc_dpcm_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute); 133int soc_dpcm_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute);
134int soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd);
131 135
132#endif 136#endif