ASoC: topology: Remove widgets from dobj list
authorAmadeusz Sławiński <amadeuszx.slawinski@intel.com>
Fri, 25 Jan 2019 20:06:43 +0000 (14:06 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 29 Jan 2019 18:03:13 +0000 (18:03 +0000)
commita46e8393d128d4e5f722b47f708a0d5de91e0176
tree12e33294cfcfd3f16262e8b47edbab50fa6e53aa
parent33ae6ae2111c3118d8d15eba331b6ba5932825c9
ASoC: topology: Remove widgets from dobj list

Currently when we unload and reload machine driver few times we end with
corrupted list and try to cleanup no longer existing objects. Fix this
by removing dobj from the list.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-topology.c