diff options
author | Mark Brown <broonie@kernel.org> | 2015-04-12 21:48:30 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-04-12 21:48:30 +0300 |
commit | d1113af4e8c0f2cd71e52cb904447bd0eec8aa54 (patch) | |
tree | 60de96c5b9716f6115ed68507c0deb361d063569 /sound/soc/soc-dapm.c | |
parent | 89a88dd3d6823f46bfb1405c4b358f89d5526cd6 (diff) | |
parent | a5053a8e200e865ab786384df3f985a3cbb346fe (diff) | |
download | linux-d1113af4e8c0f2cd71e52cb904447bd0eec8aa54.tar.xz |
Merge remote-tracking branch 'asoc/topic/core' into asoc-next
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index b6f88202b8c9..1fd2d458824e 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -1898,6 +1898,9 @@ void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm, { struct dentry *d; + if (!parent) + return; + dapm->debugfs_dapm = debugfs_create_dir("dapm", parent); if (!dapm->debugfs_dapm) { |