Commit 6759f35b authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown

ASoC: SOF: Intel: skl: Use the ipc4 version of the ipc_dump

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: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: default avatarRander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20220923133616.26267-4-peter.ujfalusi@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 32b97c07
...@@ -87,7 +87,7 @@ int sof_skl_ops_init(struct snd_sof_dev *sdev) ...@@ -87,7 +87,7 @@ int sof_skl_ops_init(struct snd_sof_dev *sdev)
/* debug */ /* debug */
sof_skl_ops.debug_map = skl_dsp_debugfs; sof_skl_ops.debug_map = skl_dsp_debugfs;
sof_skl_ops.debug_map_count = ARRAY_SIZE(skl_dsp_debugfs); sof_skl_ops.debug_map_count = ARRAY_SIZE(skl_dsp_debugfs);
sof_skl_ops.ipc_dump = hda_ipc_dump; sof_skl_ops.ipc_dump = hda_ipc4_dump;
/* firmware run */ /* firmware run */
sof_skl_ops.run = hda_dsp_cl_boot_firmware_skl; sof_skl_ops.run = hda_dsp_cl_boot_firmware_skl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment