]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: debug: Swap the dsp_dump and ipc_dump sequence for fw_exception
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Wed, 6 Oct 2021 11:06:28 +0000 (14:06 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 7 Oct 2021 14:45:22 +0000 (15:45 +0100)
commit197252d7173e699cffb1c8d1dd6f8db9b95b3aa8
tree74d70a44084ba7a0fd9818df123a72dfd296f2b7
parent64eb2f179f2eb7c9709c60dd1a9ac49b1cbb7af0
ASoC: SOF: debug: Swap the dsp_dump and ipc_dump sequence for fw_exception

snd_sof_dsp_panic() only prints dsp_dump followed by flushing the DMA trace
buffer.

To retain similar 'sequence' first do an ipc_dump then the dsp_dump and
finally flush the trace buffer in case of fw_exception.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211006110645.26679-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/debug.c