OpenCloudOS-Kernel/sound/soc/sof/imx
Pierre-Louis Bossart 856601e5a7
ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops'
Now that we start having multiple platforms with minor variants, the
use of the const qualifier for 'dsp_ops' is starting to be
sub-optimal: the structures are copied across platforms, with only a
couple of members that differ.

This patch removes the const qualifier without any functionality
changes, and adds an optional initialization callback. In follow-up
patches, the dsp_ops will revisited for Intel HDaudio platforms, with
the differences added programmatically over a common baseline.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220414184817.362215-9-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-04-19 12:03:39 +01:00
..
Kconfig ASoC: SOF: i.MX: simplify Kconfig 2021-11-16 14:29:59 +00:00
Makefile ASoC: SOF: imx: Add debug support for imx platforms 2020-09-17 15:53:15 +01:00
imx-common.c ASoC: SOF: Rename snd_sof_get_status() and add kernel log level parameter 2021-12-23 13:38:26 +00:00
imx-common.h ASoC: SOF: imx: Add code to manage DSP related clocks 2021-11-22 15:40:08 +00:00
imx8.c ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops' 2022-04-19 12:03:39 +01:00
imx8m.c ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops' 2022-04-19 12:03:39 +01:00