5 Apr
2019
5 Apr
'19
4:17 a.m.
On Thu, Apr 04, 2019 at 05:30:38PM -0700, Ranjani Sridharan wrote:
Typically, topology is loaded when the card is registered by the machine driver and the link components are probed. Therefore, it should be unloaded when the link components are removed. This will make the register/unregister component methods balanced.
continue;
snd_soc_tplg_component_remove(component,
snd_soc_component_del_unlocked(component); found = 1;SND_SOC_TPLG_INDEX_ALL);
Isn't this a robustness fix? It's just freeing anything that's left over, it doesn't free specific stuff and shouldn't stop anything else freeing that before so if we made a mistake earlier on it'll clean up after you.