Skip to content
Commit de5f644e authored by Kevin Strasser's avatar Kevin Strasser Committed by Mark Brown
Browse files

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: default avatarKevin Strasser <kevin.strasser@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f5d40b40
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment