mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 08:30:54 +07:00
ASoC: core: cleanup platform debugfs on probe failure.
Make sure we cleanup the platform debugfs when probe fails. Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
016ab467aa
commit
02db110351
@ -1112,6 +1112,7 @@ static int soc_probe_platform(struct snd_soc_card *card,
|
||||
return 0;
|
||||
|
||||
err_probe:
|
||||
soc_cleanup_platform_debugfs(platform);
|
||||
module_put(platform->dev->driver->owner);
|
||||
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user