linux/sound/soc/sof/intel
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
..
apl.c ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops' 2022-04-19 12:03:39 +01:00
atom.c ASoC: SOF: Rename snd_sof_get_status() and add kernel log level parameter 2021-12-23 13:38:26 +00:00
atom.h ASoC: SOF: avoid casting "const" attribute away 2021-12-17 11:06:16 +00:00
bdw.c ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops' 2022-04-19 12:03:39 +01:00
byt.c ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops' 2022-04-19 12:03:39 +01:00
cnl.c ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops' 2022-04-19 12:03:39 +01:00
ext_manifest.h ASoC: SOF: ext_manifest: parse cavs extra config data elem 2020-11-27 17:23:05 +00:00
hda-bus.c ASoC: SOF: Intel: hda: fix hotplug when only codec is suspended 2021-11-05 12:58:11 +00:00
hda-codec.c ASoC: SOF: Intel: fix build issue related to CODEC_PROBE_ENTRIES 2021-12-06 13:49:30 +00:00
hda-ctrl.c ASoC: SOF: Intel: hda-ctrl: apply symmetry for DPIB 2021-12-13 19:32:47 +00:00
hda-dai.c ASoC: SOF: Make sof_widget_setup/free IPC agnostic 2022-03-18 16:04:35 +00:00
hda-dsp.c ASoC: SOF: Drop 'header' parameter from tx_message() API 2022-04-04 08:39:09 +01:00
hda-ipc.c ASoC: SOF: Intel: Convert to use the generic set_stream_data_offset ops 2022-03-11 13:41:07 +00:00
hda-ipc.h ASoC: SOF: Intel: hda: Add sof_tgl_ops for TGL platforms 2020-08-27 14:22:23 +01:00
hda-loader.c ASoC: SOF: Intel: hda-loader: Use local snd_dma_buffer 2022-04-04 08:39:01 +01:00
hda-pcm.c Make the SOF pcm_hw_params DSP op IPC agnostic 2022-03-11 20:21:12 +00:00
hda-probes.c ASoC: SOF: Convert the generic probe support to SOF client 2022-02-10 15:19:12 +00:00
hda-stream.c ASoC: SOF: Intel: hdac_ext_stream: consistent prefixes for variables/members 2022-02-09 14:36:14 +00:00
hda-trace.c ASoC: SOF: Intel: hdac_ext_stream: consistent prefixes for variables/members 2022-02-09 14:36:14 +00:00
hda.c ASoC: SOF: add IPC-dependent file names 2022-04-19 12:03:34 +01:00
hda.h ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops' 2022-04-19 12:03:39 +01:00
icl.c ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops' 2022-04-19 12:03:39 +01:00
Kconfig ASoC: SOF: Intel: Fix build error without SND_SOC_SOF_PCI_DEV 2022-03-25 16:09:28 +00:00
Makefile ASoC: SOF: Make Intel IPC stream ops generic 2021-10-07 16:57:54 +01:00
pci-apl.c ASoC: SOF: add IPC-dependent file names 2022-04-19 12:03:34 +01:00
pci-cnl.c ASoC: SOF: add IPC-dependent file names 2022-04-19 12:03:34 +01:00
pci-icl.c ASoC: SOF: add IPC-dependent file names 2022-04-19 12:03:34 +01:00
pci-tgl.c ASoC: SOF: add IPC-dependent file names 2022-04-19 12:03:34 +01:00
pci-tng.c ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops' 2022-04-19 12:03:39 +01:00
shim.h ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops' 2022-04-19 12:03:39 +01:00
tgl.c ASoC: SOF: remove const qualifier for 'struct snd_sof_dsp_ops' 2022-04-19 12:03:39 +01:00