]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: qcom: topology: Constify pointed DAPM widget structs
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Fri, 19 Dec 2025 11:45:46 +0000 (12:45 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 22 Dec 2025 09:01:52 +0000 (09:01 +0000)
commit61fc95c4e3b26b3d1259a87124bdc25e4f71a8df
tree3dc328c483754aeacfe143665534611bcd6fb7bf
parent5e357c7e5e0920bd806a4e7c446c83715315f923
ASoC: qcom: topology: Constify pointed DAPM widget structs

Few functions do not modify the pointed 'struct struct
snd_soc_dapm_widget', so the pointers can be made as pointers to const
for self-explanatory code (pointed memory is not modified by the
function) and a bit safer code.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20251219-b4-container-of-const-asoc-qcom-v2-3-05fd2ecc06fe@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/topology.c