From f86dcef87b771935c223334324a93c1d71f7a84c Mon Sep 17 00:00:00 2001 From: Liam Girdwood Date: Wed, 25 Apr 2012 12:12:50 +0100 Subject: ASoC: dpcm: Add debugFS support for DPCM Add debugFS files for DPCM link management information. Signed-off-by: Liam Girdwood Signed-off-by: Mark Brown --- include/sound/soc-dpcm.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/sound/soc-dpcm.h') 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 -- cgit v1.2.3