[alsa-devel] [PATCH] ASoC: Fix prefixing of DAPM controls by factoring prefix into snd_soc_cnew()

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Mar 9 12:03:14 CET 2011


On Wed, Mar 09, 2011 at 10:19:51AM +0200, Jarkko Nikula wrote:

> Unfortunately this leads to double prefixing to mixer and mux controls
> on Nokia RX-51/N900 in today's head. Reason there is that the
> snd_soc_dapm_new_control has already added the prefix to widget name
> and the dapm_new_mixer/mux takes this prefixed w->name and prefixes it
> again.

The system I'm using isn't affected as there's no unnamed mixers in it.
I rather suspect this means that the old code is broken for named
mixers.  Working on a fix just now.


More information about the Alsa-devel mailing list