[alsa-devel] [PATCH][ASoC V2] Fix null-pointer dereference in soc_create_pcm()

Mark Brown broonie at opensource.wolfsonmicro.com
Tue May 20 13:31:30 CEST 2008


On Mon, May 19, 2008 at 05:45:59PM -0500, Timur Tabi wrote:
> When soc_create_pcm() finds all four components it needs, it displays a status
> message.  This message references the local variables 'codec_dai' and
> 'cpu_dai', but these variables are initialized only when the codec DAI and the
> cpu DAI are the last to be registered.  This patch changes the code to use the
> stored values instead of the local variables.

Thanks, applied.


More information about the Alsa-devel mailing list