aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm_adsp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2021-08-25 14:14:30 +0100
committerMark Brown <broonie@kernel.org>2021-08-25 14:14:30 +0100
commit2d02e7d7d04f54fa573685a92c4a34eb8a76c9de (patch)
treeec7782d350908aafe00a6e7e282a163da65354e6 /sound/soc/codecs/wm_adsp.c
parentMerge series "ASoC: mediatek: Add support for MT8195 SoC" from Trevor Wu <trevor.wu@mediatek.com>: (diff)
parentASoC: wm_adsp: Put debugfs_remove_recursive back in (diff)
downloadlinux-dev-2d02e7d7d04f54fa573685a92c4a34eb8a76c9de.tar.xz
linux-dev-2d02e7d7d04f54fa573685a92c4a34eb8a76c9de.zip
Merge branch 'for-5.14' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.15
Diffstat (limited to 'sound/soc/codecs/wm_adsp.c')
-rw-r--r--sound/soc/codecs/wm_adsp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c
index bbe27ab3b1fc..f7c800927cb2 100644
--- a/sound/soc/codecs/wm_adsp.c
+++ b/sound/soc/codecs/wm_adsp.c
@@ -747,6 +747,8 @@ static void wm_adsp2_init_debugfs(struct wm_adsp *dsp,
static void wm_adsp2_cleanup_debugfs(struct wm_adsp *dsp)
{
wm_adsp_debugfs_clear(dsp);
+ debugfs_remove_recursive(dsp->debugfs_root);
+ dsp->debugfs_root = NULL;
}
#else
static inline void wm_adsp2_init_debugfs(struct wm_adsp *dsp,