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

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Jun 9 16:08:03 CEST 2011


On Thu, Jun 09, 2011 at 01:22:36PM +0200, 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.

Applied, thanks.


More information about the Alsa-devel mailing list