ASoC: SOF: Intel: initialise and verify FW crash dump data.
authorLiam Girdwood <liam.r.girdwood@linux.intel.com>
Fri, 27 Sep 2019 20:05:36 +0000 (15:05 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 17:31:53 +0000 (18:31 +0100)
commitff2be865633e6fa523cd2db3b73197d795dec991
tree34b7f9d9922ee58a045bba7d8658c4a45829ffe2
parent4ff5f6439fe69624e8f7d559915e9b54a6477684
ASoC: SOF: Intel: initialise and verify FW crash dump data.

FW mailbox offset was not set before use and HDR size was not validated.
Fix this.

Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190927200538.660-12-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/bdw.c
sound/soc/sof/intel/byt.c
sound/soc/sof/intel/hda.c