diff options
author | Mark Brown <broonie@linaro.org> | 2013-09-01 21:15:50 +0100 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-09-01 21:15:50 +0100 |
commit | 59a3aed73bd61616df2f40700b7783dcdc7414fd (patch) | |
tree | 6b5d8ac6e7eab262b2489d44f7eb6f2bce31e2bf /sound/soc/soc-dapm.c | |
parent | a3ef472de12a4438198c6637dc5094c78392394f (diff) | |
parent | 246693ba7b0b824a970f9431486ad88c18e0ce2d (diff) |
Merge remote-tracking branch 'asoc/topic/dapm' into tmp
Diffstat (limited to 'sound/soc/soc-dapm.c')
-rw-r--r-- | sound/soc/soc-dapm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 548b1c9e875e..c17c14c394df 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -229,6 +229,8 @@ static int dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget, template.id = snd_soc_dapm_kcontrol; template.name = kcontrol->id.name; + data->value = template.on_val; + data->widget = snd_soc_dapm_new_control(widget->dapm, &template); if (!data->widget) { |