diff options
author | Pan Xiuli <xiuli.pan@linux.intel.com> | 2019-04-30 18:09:32 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-05-03 15:02:16 +0900 |
commit | 5e4a27fda2c8f1796fb673e72ae5dfc51675a785 (patch) | |
tree | 716671fea4bb622fbbd2d6cce4fac032599d0acd /sound/soc/sof/sof-priv.h | |
parent | ed3baacd76baa045fe101ce04a9e46d48c188495 (diff) | |
download | linux-5e4a27fda2c8f1796fb673e72ae5dfc51675a785.tar.gz linux-5e4a27fda2c8f1796fb673e72ae5dfc51675a785.tar.bz2 linux-5e4a27fda2c8f1796fb673e72ae5dfc51675a785.zip |
ASoC: SOF: IPC: add ipc dump function
Dump IPC status when IPC timed out. IPC status is platform specific and
need bind to plaform.
Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/sof-priv.h')
-rw-r--r-- | sound/soc/sof/sof-priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/sof-priv.h b/sound/soc/sof/sof-priv.h index 170adc21ef17..1e85d6f9c5c3 100644 --- a/sound/soc/sof/sof-priv.h +++ b/sound/soc/sof/sof-priv.h @@ -176,6 +176,7 @@ struct snd_sof_dsp_ops { int debug_map_count; /* optional */ void (*dbg_dump)(struct snd_sof_dev *sof_dev, u32 flags); /* optional */ + void (*ipc_dump)(struct snd_sof_dev *sof_dev); /* optional */ /* host DMA trace initialization */ int (*trace_init)(struct snd_sof_dev *sdev, |