summary refs log tree commit diff
path: root/sound/soc/sof/intel/hda.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-09-23 20:46:25 +0100
committerMark Brown <broonie@kernel.org>2022-09-23 20:46:25 +0100
commite9b0ff9336850863e608c2df0dde512adecb4a20 (patch)
tree33575a8be2e9c5db231c7df63a83beb65b6d8775 /sound/soc/sof/intel/hda.h
parent5b887b4d1e21fcc16bbcf64ac1cac1ab9d0acca2 (diff)
parent4245fdba89b82befee0d963a85f7494c70432ee9 (diff)
downloadlinux-e9b0ff9336850863e608c2df0dde512adecb4a20.tar.gz
ASoC: SOF: ipc4/Intel: Improve and enable IPC error dump
Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

On Intel platforms the registers for DSP communications are used differently,
the IPC dump information is not correct since important registers are not
printed and existing ones are used a bit differently for IPC4.

As a last step, enable the IPC timeout 'handling' and allow the printout of
the now usefull IPC dump.
Diffstat (limited to 'sound/soc/sof/intel/hda.h')
-rw-r--r--sound/soc/sof/intel/hda.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/hda.h b/sound/soc/sof/intel/hda.h
index 0b965799ea0d..2ab3c3840b92 100644
--- a/sound/soc/sof/intel/hda.h
+++ b/sound/soc/sof/intel/hda.h
@@ -853,6 +853,7 @@ irqreturn_t cnl_ipc4_irq_thread(int irq, void *context);
 int cnl_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg);
 irqreturn_t hda_dsp_ipc4_irq_thread(int irq, void *context);
 int hda_dsp_ipc4_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg);
+void hda_ipc4_dump(struct snd_sof_dev *sdev);
 extern struct sdw_intel_ops sdw_callback;
 
 #endif