ASoC: core: add platform DAPM debugfs support

Allow platform widgets to be visible in debugfs like codec widgets.

Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Sebastien Guiriec
2012-02-15 15:25:31 +00:00
committed by Mark Brown
parent 48a8c3943d
commit 731f1ab290
2 changed files with 37 additions and 0 deletions

View File

@@ -706,6 +706,11 @@ struct snd_soc_platform {
struct list_head card_list;
struct snd_soc_dapm_context dapm;
#ifdef CONFIG_DEBUG_FS
struct dentry *debugfs_platform_root;
struct dentry *debugfs_dapm;
#endif
};
struct snd_soc_dai_link {