diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2019-11-06 08:58:01 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-11-06 15:32:21 +0000 |
commit | df95a16d2a9626dcfc3f2b3671c9b91fa076c997 (patch) | |
tree | 225dc1f40f5ea1cd2dd6987e6db826512af17512 /include/media/demux.h | |
parent | 509ba54fcfd1e45bceebe8ccea59dc496312f1a0 (diff) |
ASoC: soc-core: fix RIP warning on card removal
SOF module load/unload tests show nasty recurring warnings:
WARNING: CPU: 5 PID: 1339 at sound/core/control.c:466
snd_ctl_remove+0xf0/0x100 [snd]
RIP: 0010:snd_ctl_remove+0xf0/0x100 [snd]
This regression was introduced by the removal of the call to
soc_remove_link_components() before soc_card_free() is invoked.
Go back to the initial order but only call
soc_remove_link_components() once.
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fixes: 5a4c9f054ceea ("ASoC: soc-core: snd_soc_unbind_card() cleanup")
GitHub issue: https://github.com/thesofproject/linux/issues/1424
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191106145801.9316-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/media/demux.h')
0 files changed, 0 insertions, 0 deletions