]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Let soc_cleanup_component_debugfs remove debugfs
authorLucas Tanure <tanureal@opensource.cirrus.com>
Wed, 28 Jul 2021 10:44:16 +0000 (11:44 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 28 Jul 2021 15:39:15 +0000 (16:39 +0100)
commit6d523d40d96d1d01b4623084ce449b16eea44c33
tree0bb93f7a747a0eb196a5e07aaed68691eecb57b0
parentfcf5b5a81759cdaab4e8bb8b56d7fcb369b70482
ASoC: wm_adsp: Let soc_cleanup_component_debugfs remove debugfs

soc_cleanup_component_debugfs will debugfs_remove_recursive
the component->debugfs_root, so adsp doesn't need to also
remove the same entry.
By doing that adsp also creates a race with core component,
which causes a NULL pointer dereference

Signed-off-by: Lucas Tanure <tanureal@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210728104416.636591-1-tanureal@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c