diff options
author | 2019-01-25 14:06:47 -0600 | |
---|---|---|
committer | 2019-01-29 18:04:25 +0000 | |
commit | 7df04ea7a31eaa75bdad2905f07cc097b15558ee (patch) | |
tree | 93ccff695c1c31a1d5a60437a2b88c7bed9cc464 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ASoC: topology: add SND_SOC_DOBJ_GRAPH type for dapm routes (diff) | |
download | wireguard-linux-7df04ea7a31eaa75bdad2905f07cc097b15558ee.tar.xz wireguard-linux-7df04ea7a31eaa75bdad2905f07cc097b15558ee.zip |
ASoC: topology: modify dapm route loading routine and add dapm route unloading
struct snd_soc_dapm_route has been modified to be a dynamic
object so that it can be used to save driver specific
data while parsing topology and clean up
driver-specific data during driver unloading.
This patch makes the following changes to accomplish the above:
1. Set the dobj member of snd_soc_dapm_route during the
SOC_TPLG_PASS_GRAPH pass of topology parsing.
2. Add the remove_route() routine that will be called while
removing all dynamic objects from the component driver.
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions