[alsa-devel] [PATCH] ASoC: snd_soc_new_{mixer, mux, pga} make sure to use right DAPM context

Liam Girdwood lrg at ti.com
Thu Jun 9 15:56:57 CEST 2011

On 09/06/11 12:22, Lars-Peter Clausen wrote:
> Currently it is possible that snd_soc_new_{mixer,mux,pga} is called with a
> DAPM context not matching the widgets context. This can lead to a wrong
> prefix_len calculation, which will result in undefined behaviour. To avoid
> this always use the DAPM context from the widget itself.
> Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
> Cc: stable at kernel.org

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

More information about the Alsa-devel mailing list