[alsa-devel] [PATCH] ASoC: soc-dapm: Fix breakage with incorrect codec pointer

Liam Girdwood lrg at ti.com
Fri Jun 17 17:50:02 CEST 2011


On 17/06/11 15:52, Dimitris Papastamos wrote:
> Signed-off-by: Dimitris Papastamos <dp at opensource.wolfsonmicro.com>
> ---
>  sound/soc/soc-dapm.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
> index 605c225..a877dc6 100644
> --- a/sound/soc/soc-dapm.c
> +++ b/sound/soc/soc-dapm.c
> @@ -922,7 +922,7 @@ static void dapm_seq_run_coalesced(struct snd_soc_dapm_context *dapm,
>  			"pop test : Applying 0x%x/0x%x to %x in %dms\n",
>  			value, mask, reg, card->pop_time);
>  		pop_wait(card->pop_time);
> -		soc_widget_update_bits(w, reg, mask, value);
> +		snd_soc_update_bits(dapm->codec, reg, mask, value);
>  	}
>  
>  	list_for_each_entry(w, pending, power_list) {

Acked-by: Liam Girdwood <lrg at ti.com>


More information about the Alsa-devel mailing list