Re: [PATCH v2] ASoC: Intel: fix possible acpi enumeration panic

2014-12-16 Thread Mark Brown
On Mon, Dec 15, 2014 at 04:15:04PM -0800, Kevin Strasser wrote: > 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_

[PATCH v2] ASoC: Intel: fix possible acpi enumeration panic

2014-12-15 Thread Kevin Strasser
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 --- sound/soc/intel/sst/sst