Unverified Commit 0ed66cb7 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown
Browse files

ASoC: SOF: Rename sof_arch_ops to dsp_arch_ops



From the name sof_arch_ops one can not decipher that these ops are DSP
architecture ops.
Rename it to dsp_arch_ops and change also the macro to retrieve the DSP
architecture specific ops as well.

Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: default avatarGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210916130308.7969-1-peter.ujfalusi@linux.intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f6b0c731
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -439,7 +439,7 @@ struct snd_sof_dsp_ops sof_imx8_ops = {
	.debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,

	/* Firmware ops */
	.arch_ops = &sof_xtensa_arch_ops,
	.dsp_arch_ops = &sof_xtensa_arch_ops,

	/* DAI drivers */
	.drv = imx8_dai,
@@ -486,7 +486,7 @@ struct snd_sof_dsp_ops sof_imx8x_ops = {
	.debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,

	/* Firmware ops */
	.arch_ops = &sof_xtensa_arch_ops,
	.dsp_arch_ops = &sof_xtensa_arch_ops,

	/* DAI drivers */
	.drv = imx8_dai,
+1 −1
Original line number Diff line number Diff line
@@ -302,7 +302,7 @@ struct snd_sof_dsp_ops sof_imx8m_ops = {
	.debugfs_add_region_item = snd_sof_debugfs_add_region_item_iomem,

	/* Firmware ops */
	.arch_ops = &sof_xtensa_arch_ops,
	.dsp_arch_ops = &sof_xtensa_arch_ops,

	/* DAI drivers */
	.drv = imx8m_dai,
+1 −1
Original line number Diff line number Diff line
@@ -126,7 +126,7 @@ const struct snd_sof_dsp_ops sof_apl_ops = {
			SNDRV_PCM_INFO_PAUSE |
			SNDRV_PCM_INFO_NO_PERIOD_WAKEUP,

	.arch_ops = &sof_xtensa_arch_ops,
	.dsp_arch_ops = &sof_xtensa_arch_ops,
};
EXPORT_SYMBOL_NS(sof_apl_ops, SND_SOC_SOF_INTEL_HDA_COMMON);

+1 −1
Original line number Diff line number Diff line
@@ -658,7 +658,7 @@ static const struct snd_sof_dsp_ops sof_bdw_ops = {
			SNDRV_PCM_INFO_PAUSE |
			SNDRV_PCM_INFO_BATCH,

	.arch_ops = &sof_xtensa_arch_ops,
	.dsp_arch_ops = &sof_xtensa_arch_ops,
};

static const struct sof_intel_dsp_desc bdw_chip_info = {
+2 −2
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@ static const struct snd_sof_dsp_ops sof_byt_ops = {
			SNDRV_PCM_INFO_PAUSE |
			SNDRV_PCM_INFO_BATCH,

	.arch_ops = &sof_xtensa_arch_ops,
	.dsp_arch_ops = &sof_xtensa_arch_ops,
};

static const struct sof_intel_dsp_desc byt_chip_info = {
@@ -355,7 +355,7 @@ static const struct snd_sof_dsp_ops sof_cht_ops = {
			SNDRV_PCM_INFO_PAUSE |
			SNDRV_PCM_INFO_BATCH,

	.arch_ops = &sof_xtensa_arch_ops,
	.dsp_arch_ops = &sof_xtensa_arch_ops,
};

static const struct sof_intel_dsp_desc cht_chip_info = {
Loading