diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2019-01-25 14:06:47 -0600 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-29 18:04:25 +0000 |
commit | 7df04ea7a31eaa75bdad2905f07cc097b15558ee (patch) | |
tree | 93ccff695c1c31a1d5a60437a2b88c7bed9cc464 /fs/kernfs/kernfs-internal.h | |
parent | 5c30f43f0625a792c30e465f21dbeb1bb4dfc40b (diff) |
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 'fs/kernfs/kernfs-internal.h')
0 files changed, 0 insertions, 0 deletions