Commit ff2f99b0 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown

ASoC: SOF: imx: Provide debugfs_add_region_item ops for core

Set the generic iomem callback for debugfs_add_region_item to avoid
regression when the core switches to use the generic interface for
the regions.
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: default avatarDaniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: default avatarRanjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: default avatarGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20210915122116.18317-10-peter.ujfalusi@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 07e833b4
...@@ -436,6 +436,7 @@ struct snd_sof_dsp_ops sof_imx8_ops = { ...@@ -436,6 +436,7 @@ struct snd_sof_dsp_ops sof_imx8_ops = {
/* Debug information */ /* Debug information */
.dbg_dump = imx8_dump, .dbg_dump = imx8_dump,
.debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,
/* Firmware ops */ /* Firmware ops */
.arch_ops = &sof_xtensa_arch_ops, .arch_ops = &sof_xtensa_arch_ops,
...@@ -482,6 +483,7 @@ struct snd_sof_dsp_ops sof_imx8x_ops = { ...@@ -482,6 +483,7 @@ struct snd_sof_dsp_ops sof_imx8x_ops = {
/* Debug information */ /* Debug information */
.dbg_dump = imx8_dump, .dbg_dump = imx8_dump,
.debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,
/* Firmware ops */ /* Firmware ops */
.arch_ops = &sof_xtensa_arch_ops, .arch_ops = &sof_xtensa_arch_ops,
......
...@@ -288,6 +288,7 @@ struct snd_sof_dsp_ops sof_imx8m_ops = { ...@@ -288,6 +288,7 @@ struct snd_sof_dsp_ops sof_imx8m_ops = {
/* Debug information */ /* Debug information */
.dbg_dump = imx8_dump, .dbg_dump = imx8_dump,
.debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,
/* Firmware ops */ /* Firmware ops */
.arch_ops = &sof_xtensa_arch_ops, .arch_ops = &sof_xtensa_arch_ops,
......
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