ASoC: SOF: Intel: hda: Add separate ops for ipc_dump for IPC4
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Fri, 23 Sep 2022 13:36:12 +0000 (16:36 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 23 Sep 2022 13:53:18 +0000 (14:53 +0100)
commit32b97c07c2a3b7cccc0c7e9a5b23970bd9a52c5d
tree809d3fecea3a1b56a4c7a3a09ad9f610a8a2201f
parenta996a333ad74d1f26c3831f1edd94a5d16798a0c
ASoC: SOF: Intel: hda: 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-3-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/apl.c
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/hda.h