]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: topology: add SND_SOC_DOBJ_GRAPH type for dapm routes
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Fri, 25 Jan 2019 20:06:46 +0000 (14:06 -0600)
committerMark Brown <broonie@kernel.org>
Tue, 29 Jan 2019 18:03:44 +0000 (18:03 +0000)
commitc13a03ccdb0394675d610070aed52a1f6fc5e7ff
tree4738b64c7527b8317a77a836830cef1c4dbc4642
parent165926fee97fc05dec88e4a3b014a9138cd5e1e8
ASoC: topology: add SND_SOC_DOBJ_GRAPH type for dapm routes

Add a new dobj type SND_SOC_DOBJ_GRAPH for dapm routes
and add snd_soc_dobj member to struct snd_soc_dapm_route.
This enables device drivers to save driver specific
data pertaining to dapm routes and also be able
to clean up the data when the driver module is unloaded.

Also, reorder the snd_soc_dobj_type types to align with
matching topology header types.

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>
include/sound/soc-dapm.h
include/sound/soc-topology.h