commit | de5f644e3ca71afc06377d137375c56e250f8cb3 | [log] [tgz] |
---|---|---|
author | Kevin Strasser <kevin.strasser@linux.intel.com> | Mon Dec 15 16:15:04 2014 -0800 |
committer | Mark Brown <broonie@kernel.org> | Tue Dec 16 11:52:09 2014 +0000 |
tree | 4d66cf13a6bd7a47bdb9b3153122a1e2d6b22907 | |
parent | f5d40b400fe2de5f9dc3d41681cc59b2b7c28f8c [diff] |
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 <kevin.strasser@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>