summaryrefslogtreecommitdiffstats
path: root/sound/soc/sof/intel/hda-ipc.h
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>2022-09-23 16:36:11 +0300
committerMark Brown <broonie@kernel.org>2022-09-23 14:53:17 +0100
commita996a333ad74d1f26c3831f1edd94a5d16798a0c (patch)
tree43833e8eae42dc267bdc07be14f48062c9df15be /sound/soc/sof/intel/hda-ipc.h
parente2f0b9277810685f6a67201847082ec9852853bd (diff)
downloadlinux-a996a333ad74d1f26c3831f1edd94a5d16798a0c.tar.bz2
ASoC: SOF: Intel: cnl: Add separate ops for ipc_dump for IPC4
The use of the IPC registers are different between IPC3 and IPC4. The ipc_dump needs to use different prints depending on the used IPC protocol. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Link: https://lore.kernel.org/r/20220923133616.26267-2-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/hda-ipc.h')
-rw-r--r--sound/soc/sof/intel/hda-ipc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sof/intel/hda-ipc.h b/sound/soc/sof/intel/hda-ipc.h
index 10fbca5939db..8ec5e9f6f8d7 100644
--- a/sound/soc/sof/intel/hda-ipc.h
+++ b/sound/soc/sof/intel/hda-ipc.h
@@ -51,5 +51,6 @@
irqreturn_t cnl_ipc_irq_thread(int irq, void *context);
int cnl_ipc_send_msg(struct snd_sof_dev *sdev, struct snd_sof_ipc_msg *msg);
void cnl_ipc_dump(struct snd_sof_dev *sdev);
+void cnl_ipc4_dump(struct snd_sof_dev *sdev);
#endif