ASoC: SOF: mediatek: add adsp debug dump
authorTrevor Wu <trevor.wu@mediatek.com>
Thu, 1 Jun 2023 03:49:39 +0000 (11:49 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 1 Jun 2023 11:30:44 +0000 (12:30 +0100)
commit089adf33701426869dd50d1b8b8a4abd25ae39ae
treee158e9f8d73e9a3bcf5667515845e2676f0d9386
parent8f4007e87ef9637aa557340762d6c3bbcbbd5669
ASoC: SOF: mediatek: add adsp debug dump

Add mt8188 and mt8186 .dbg_dump callback to print some information when
DSP panic occurs.

Signed-off-by: Trevor Wu <trevor.wu@mediatek.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Yaochun Hung <yc.hung@mediatek.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230601034939.15802-2-trevor.wu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/mediatek/mt8186/mt8186.c
sound/soc/sof/mediatek/mt8186/mt8186.h