diff options
author | Liam Girdwood <lrg@ti.com> | 2012-04-25 13:12:50 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-04-26 18:48:19 +0200 |
commit | f86dcef87b771935c223334324a93c1d71f7a84c (patch) | |
tree | 06af2bd5a2da54c323acddace8a603bf9475c489 /include/sound/soc-dpcm.h | |
parent | ASoC: dpcm: Add Dynamic PCM core operations. (diff) | |
download | linux-f86dcef87b771935c223334324a93c1d71f7a84c.tar.xz linux-f86dcef87b771935c223334324a93c1d71f7a84c.zip |
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.h | 4 |
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 { /* 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 |