diff options
author | Mark Brown <broonie@kernel.org> | 2019-05-30 16:47:43 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-30 16:47:43 +0100 |
commit | 79b3b7c4a396b9fa1963ac70e853998633e8151d (patch) | |
tree | c1e507b4a6fff773ec81e90e1be11f1b35e773b6 /sound/soc/soc-dapm.c | |
parent | e13ef82a9ab83dd21d8dd43ef9f5e8bf5b101106 (diff) | |
parent | 1f2675f6655838aaf910f911fd0abc821e3ff3df (diff) | |
download | linux-79b3b7c4a396b9fa1963ac70e853998633e8151d.tar.gz |
Merge branch 'asoc-5.2' into asoc-5.3
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 511ed84b147b..6b44b4a78b8e 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -2194,7 +2194,10 @@ static void dapm_debugfs_add_widget(struct snd_soc_dapm_widget *w) static void dapm_debugfs_cleanup(struct snd_soc_dapm_context *dapm) { + if (!dapm->debugfs_dapm) + return; debugfs_remove_recursive(dapm->debugfs_dapm); + dapm->debugfs_dapm = NULL; } #else |