[alsa-devel] [PATCH] ASoC: DAPM - Export mixer|mux_update_power() to public API.

Liam Girdwood lrg at ti.com
Mon Feb 6 15:24:47 CET 2012

On Mon, 2012-02-06 at 13:40 +0000, Mark Brown wrote:
> On Mon, Feb 06, 2012 at 01:32:15PM +0000, Liam Girdwood wrote:
> > +int snd_soc_dapm_mux_update_power(struct snd_soc_dapm_widget *widget,
> > +				 struct snd_kcontrol *kcontrol, int change,
> > +				 int mux, struct soc_enum *e);
> We should get rid of the change parameter before exporting this, we've
> already got all the conditionals in the callers so it never gets called
> without change being set and any users should be doing the same thing.

That's true, and I can't quite remember why there was a change parameter
to begin with.


More information about the Alsa-devel mailing list