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

Dimitris Papastamos dp at opensource.wolfsonmicro.com
Sat Jun 18 16:10:46 CEST 2011


On Fri, Jun 17, 2011 at 05:01:53PM +0100, Mark Brown wrote:
> On Fri, Jun 17, 2011 at 04:50:02PM +0100, Liam Girdwood wrote:
> > On 17/06/11 15:52, Dimitris Papastamos wrote:
> 
> > > -		soc_widget_update_bits(w, reg, mask, value);
> > > +		snd_soc_update_bits(dapm->codec, reg, mask, value);
> 
> > Acked-by: Liam Girdwood <lrg at ti.com>
> 
> This'll work just now but it essentially invalidates the change to
> support non-CODEC DAPM widgets - we need to fix that change properly,
> this means that anything other than a CODEC won't be able to use
> registers.

Yes that's true.  That was a quick fix to temporarily take care of this
problem.

Thanks,
Dimitris


More information about the Alsa-devel mailing list