summaryrefslogtreecommitdiff
path: root/include/sound/soc-topology.h
diff options
context:
space:
mode:
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>2017-06-09 17:43:23 +0300
committerMark Brown <broonie@kernel.org>2017-06-09 20:46:08 +0300
commitebd259d33a900b28ef774c4c26e8ce6e2baea7e5 (patch)
treea178243366c8e0ad58a8b9a158249238639dcd62 /include/sound/soc-topology.h
parent102ebe266c317da59471e2cde0dce603de031482 (diff)
downloadlinux-ebd259d33a900b28ef774c4c26e8ce6e2baea7e5.tar.xz
ASoC: topology: Allow bespoke configuration post widget creation
Current topology only allows for widget configuration before the widget is registered. This patch also allows further configuration and usage after registration is complete. Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-topology.h')
-rw-r--r--include/sound/soc-topology.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/soc-topology.h b/include/sound/soc-topology.h
index b8da221615e0..f552c3f56368 100644
--- a/include/sound/soc-topology.h
+++ b/include/sound/soc-topology.h
@@ -118,6 +118,9 @@ struct snd_soc_tplg_ops {
int (*widget_load)(struct snd_soc_component *,
struct snd_soc_dapm_widget *,
struct snd_soc_tplg_dapm_widget *);
+ int (*widget_ready)(struct snd_soc_component *,
+ struct snd_soc_dapm_widget *,
+ struct snd_soc_tplg_dapm_widget *);
int (*widget_unload)(struct snd_soc_component *,
struct snd_soc_dobj *);