[PATCH] ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete

Mark Brown broonie at kernel.org
Fri Dec 11 18:13:05 CET 2020


On Fri, Dec 11, 2020 at 06:06:29PM +0100, Ricardo Ribalda wrote:

> If dobj->control is not initialized we end up in an OOPs during
> skl_tplg_complete:

>  		for (i = 0; i < se->items; i++) {
> -			struct snd_ctl_elem_value val;
> +			struct snd_ctl_elem_value val = {};

This bit looks like a separate fix?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20201211/d380a176/attachment.sig>


More information about the Alsa-devel mailing list