ASoC: SOF: Intel: cnl: Add separate ops for ipc_dump for IPC4
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 23 Sep 2022 13:36:11 +0000 (16:36 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 23 Sep 2022 13:53:17 +0000 (14:53 +0100)
commita996a333ad74d1f26c3831f1edd94a5d16798a0c
tree43833e8eae42dc267bdc07be14f48062c9df15be
parente2f0b9277810685f6a67201847082ec9852853bd
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>
sound/soc/sof/intel/cnl.c
sound/soc/sof/intel/hda-ipc.h
sound/soc/sof/intel/icl.c
sound/soc/sof/intel/tgl.c