[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251219-b4-container-of-const-asoc-qcom-v2-0-05fd2ecc06fe@oss.qualcomm.com>
Date: Fri, 19 Dec 2025 12:45:43 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@....qualcomm.com>
To: Srinivas Kandagatla <srini@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>, Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>
Cc: linux-sound@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Krzysztof Kozlowski <krzysztof.kozlowski@....qualcomm.com>
Subject: [PATCH v2 0/5] ASoC: qcom: Constify few things in audioreach and
topology
Changes in v2:
- Drop first patch (one removing unused arguments)
- Rebase (new speaker_protection functions appear)
- Link to v1: https://patch.msgid.link/20251129-b4-container-of-const-asoc-qcom-v1-0-67a3d3320371@oss.qualcomm.com
Several functions do not modify the pointed memory they receive, so
marking them as pointers to const would serve as self-explanatory code.
Also safer a bit.
Best regards,
Krzysztof
---
Krzysztof Kozlowski (5):
ASoC: qcom: topology: Constify pointed topology and vendor structs
ASoC: qcom: topology: Constify pointed ar control structs
ASoC: qcom: topology: Constify pointed DAPM widget structs
ASoC: qcom: topology: Constify pointed snd_soc_tplg_dapm_widget
ASoC: qcom: audioreach: Constify function arguments
sound/soc/qcom/qdsp6/audioreach.c | 87 +++++++++++++++-------------
sound/soc/qcom/qdsp6/audioreach.h | 16 +++---
sound/soc/qcom/qdsp6/topology.c | 118 +++++++++++++++++++-------------------
3 files changed, 116 insertions(+), 105 deletions(-)
---
base-commit: b6624535ece4221e67a90b06a373bbefd833c2d1
change-id: 20251127-b4-container-of-const-asoc-qcom-cf4bba99b341
Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@....qualcomm.com>
Powered by blists - more mailing lists