From: Kevin Strasser Date: Tue, 16 Dec 2014 00:15:04 +0000 (-0800) Subject: ASoC: Intel: fix possible acpi enumeration panic X-Git-Tag: omap-for-v3.20/drop-legacy-3517~15^2~10^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de5f644e3ca71afc06377d137375c56e250f8cb3;p=pandora-kernel.git ASoC: Intel: fix possible acpi enumeration panic A crash can occur on some platforms where adsp is enumerated but codec is not matched. Define codec_id as a pointer intead of an array so that it gets initialized to NULL for the terminating element of sst_acpi_bytcr[] and sst_acpi_chv[]. Signed-off-by: Kevin Strasser Signed-off-by: Mark Brown --- Reading git-diff-tree failed