BACKPORT: 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. Change-Id: I1a8f315269f1bc3498070fdeddcb09ed2c14b14a 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>
parent
3827857e
No related branches found
No related tags found
Showing
- include/sound/sof.h 3 additions, 1 deletioninclude/sound/sof.h
- sound/soc/sof/core.c 3 additions, 0 deletionssound/soc/sof/core.c
- sound/soc/sof/debug.c 1 addition, 1 deletionsound/soc/sof/debug.c
- sound/soc/sof/mediatek/mt8195/mt8195.c 1 addition, 1 deletionsound/soc/sof/mediatek/mt8195/mt8195.c
- sound/soc/sof/ops.h 6 additions, 0 deletionssound/soc/sof/ops.h
- sound/soc/sof/pcm.c 1 addition, 1 deletionsound/soc/sof/pcm.c
-
mentioned in commit clea-os/layers/seco/meta-seco-mtk@01714856
-
mentioned in merge request clea-os/layers/seco/meta-seco-mtk!25 (closed)
Please register or sign in to comment