]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
ASoC: SOF: imx: Provide debugfs_add_region_item ops for core
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Wed, 15 Sep 2021 12:21:13 +0000 (15:21 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 15 Sep 2021 15:25:06 +0000 (16:25 +0100)
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: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20210915122116.18317-10-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/imx/imx8.c
sound/soc/sof/imx/imx8m.c

index 326aa65166c27fc3cca5a925e609d2a68d0d54cb..199ddf706fc45bee1f89bba0be19d9fb5581c386 100644 (file)
@@ -436,6 +436,7 @@ struct snd_sof_dsp_ops sof_imx8_ops = {
 
        /* Debug information */
        .dbg_dump = imx8_dump,
+       .debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,
 
        /* Firmware ops */
        .arch_ops = &sof_xtensa_arch_ops,
@@ -482,6 +483,7 @@ struct snd_sof_dsp_ops sof_imx8x_ops = {
 
        /* Debug information */
        .dbg_dump = imx8_dump,
+       .debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,
 
        /* Firmware ops */
        .arch_ops = &sof_xtensa_arch_ops,
index b5c739a5cbebd881bf13ca79a1090c87ab28c9e8..6c3f7ffab262d3589f19737a071adcb665811e10 100644 (file)
@@ -288,6 +288,7 @@ struct snd_sof_dsp_ops sof_imx8m_ops = {
 
        /* Debug information */
        .dbg_dump = imx8_dump,
+       .debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,
 
        /* Firmware ops */
        .arch_ops = &sof_xtensa_arch_ops,