summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorStephen Warren2011-04-29 01:37:59 +0200
committerMark Brown2011-05-03 20:28:57 +0200
commitfad598887dc0d89ffee3e51281a8143beb2ae58c (patch)
tree49cbb65d198f13b534f606409335c31703043a34 /include/sound
parentASoC: s/w->kcontrols/w->kcontrol_news/g (diff)
downloadkernel-qcow2-linux-fad598887dc0d89ffee3e51281a8143beb2ae58c.tar.gz
kernel-qcow2-linux-fad598887dc0d89ffee3e51281a8143beb2ae58c.tar.xz
kernel-qcow2-linux-fad598887dc0d89ffee3e51281a8143beb2ae58c.zip
ASoC: Add w->kcontrols, and populate it
Future changes will need reference to the kcontrol created for a given kcontrol_new. Store the created kcontrol values now. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/soc-dapm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 76714be19e9d..b25bf0ffc947 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -474,6 +474,7 @@ struct snd_soc_dapm_widget {
/* kcontrols that relate to this widget */
int num_kcontrols;
const struct snd_kcontrol_new *kcontrol_news;
+ struct snd_kcontrol **kcontrols;
/* widget input and outputs */
struct list_head sources;