diff options
author | Liam Girdwood | 2017-06-09 16:43:23 +0200 |
---|---|---|
committer | Mark Brown | 2017-06-09 19:46:08 +0200 |
commit | ebd259d33a900b28ef774c4c26e8ce6e2baea7e5 (patch) | |
tree | a178243366c8e0ad58a8b9a158249238639dcd62 /include/sound | |
parent | ASoC: Back out post commit widget creation changes (diff) | |
download | kernel-qcow2-linux-ebd259d33a900b28ef774c4c26e8ce6e2baea7e5.tar.gz kernel-qcow2-linux-ebd259d33a900b28ef774c4c26e8ce6e2baea7e5.tar.xz kernel-qcow2-linux-ebd259d33a900b28ef774c4c26e8ce6e2baea7e5.zip |
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')
-rw-r--r-- | include/sound/soc-topology.h | 3 |
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 *); |