diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-04-30 19:45:48 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-05-03 18:43:32 +0100 |
commit | 8eecaf62445e175572ffabaab090b471001c5a2c (patch) | |
tree | 00372372fd0eeb721537434a8377e654be462b82 /include/sound | |
parent | 0aaae527c71e6af571093d90474f37c8662008d5 (diff) | |
download | linux-3.10-8eecaf62445e175572ffabaab090b471001c5a2c.tar.gz linux-3.10-8eecaf62445e175572ffabaab090b471001c5a2c.tar.bz2 linux-3.10-8eecaf62445e175572ffabaab090b471001c5a2c.zip |
ASoC: Move DAPM debugfs directory creation to snd_soc_dapm_debugfs_init
Move the creation of the DAPM debugfs directory to snd_soc_dapm_debugfs_init
instead of having the same duplicated code in both codec and card DAPM setup.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc-dapm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h index d5f1b9a9b8f..f8a7c9a6f12 100644 --- a/include/sound/soc-dapm.h +++ b/include/sound/soc-dapm.h @@ -356,7 +356,8 @@ void snd_soc_dapm_shutdown(struct snd_soc_card *card); /* dapm sys fs - used by the core */ int snd_soc_dapm_sys_add(struct device *dev); -void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm); +void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm, + struct dentry *parent); /* dapm audio pin control and status */ int snd_soc_dapm_enable_pin(struct snd_soc_dapm_context *dapm, |