[PATCH 00/14] ASoC: Constify local snd_sof_dsp_ops

From: Krzysztof Kozlowski
Date: Sun Apr 14 2024 - 14:48:08 EST


Hi,

The core code does not modify the 'struct snd_sof_dsp_ops' passed via
pointer in various places, so this can be made pointer to const.

All further patches depend on the first four patches.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (14):
ASoC: SOF: debug: Constify local snd_sof_dsp_ops
ASoC: SOF: ipc3: Constify local snd_sof_dsp_ops
ASoC: SOF: pcm: Constify local snd_sof_dsp_ops
ASoC: SOF: Constify stored pointer to snd_sof_dsp_ops
ASoC: SOF: intel: pci-tng: Constify snd_sof_dsp_ops
ASoC: SOF: intel: hda: Constify snd_sof_dsp_ops
ASoC: SOF: amd: acp: Constify snd_sof_dsp_ops
ASoC: SOF: imx8: Constify snd_sof_dsp_ops
ASoC: SOF: imx8m: Constify snd_sof_dsp_ops
ASoC: SOF: imx8ulp: Constify snd_sof_dsp_ops
ASoC: SOF: intel: bdw: Constify snd_sof_dsp_ops
ASoC: SOF: intel: byt: Constify snd_sof_dsp_ops
ASoC: SOF: mediatek: mt8186: Constify snd_sof_dsp_ops
ASoC: SOF: mediatek: mt8195: Constify snd_sof_dsp_ops

include/sound/sof.h | 2 +-
sound/soc/sof/amd/acp-common.c | 2 +-
sound/soc/sof/amd/acp.h | 2 +-
sound/soc/sof/debug.c | 2 +-
sound/soc/sof/imx/imx8.c | 4 ++--
sound/soc/sof/imx/imx8m.c | 2 +-
sound/soc/sof/imx/imx8ulp.c | 2 +-
sound/soc/sof/intel/bdw.c | 2 +-
sound/soc/sof/intel/byt.c | 4 ++--
sound/soc/sof/intel/hda-common-ops.c | 2 +-
sound/soc/sof/intel/hda.h | 2 +-
sound/soc/sof/intel/pci-tng.c | 2 +-
sound/soc/sof/intel/shim.h | 2 +-
sound/soc/sof/ipc3-priv.h | 6 +++---
sound/soc/sof/mediatek/mt8186/mt8186.c | 2 +-
sound/soc/sof/mediatek/mt8195/mt8195.c | 2 +-
sound/soc/sof/pcm.c | 2 +-
17 files changed, 21 insertions(+), 21 deletions(-)
---
base-commit: 9aa527ea9d7e33323f6a5c793eb62b09b7f96d46
change-id: 20240414-n-const-ops-var-136f395b374b

Best regards,
--
Krzysztof Kozlowski <krzk@xxxxxxxxxx>