[alsa-devel] [PATCH V3] ASoC: rt5640: change widget sequence for depop

Stephen Warren swarren at wwwdotorg.org
Fri Aug 23 18:26:51 CEST 2013


On 08/23/2013 10:10 AM, Stephen Warren wrote:
> On 08/22/2013 08:29 PM, bardliao at realtek.com wrote:
>> From: Bard Liao <bardliao at realtek.com>
> 
> A patch description might be useful?
> 
> Tested-by: Stephen Warren <swarren at nvidia.com>

Oh, but remember that this patch depends on the following from
Lars-Peter that hasn't yet been posted, so this patch shouldn't be
applied until that one is, or it'll break things horribly:

diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index d84bd0f..2ed1dcd 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) {



More information about the Alsa-devel mailing list