]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: qcom: topology: Constify pointed ar control structs
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Fri, 19 Dec 2025 11:45:45 +0000 (12:45 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 22 Dec 2025 09:01:51 +0000 (09:01 +0000)
commit5e357c7e5e0920bd806a4e7c446c83715315f923
tree34f4dc3ba6da791c67d70b4ba553c7cc10eafa12
parentc4be067a7b67f616b9ec85423a20be6be9b8ec37
ASoC: qcom: topology: Constify pointed ar control structs

audioreach_route_load() does not modify the pointed 'struct
audioreach_module' and functions for connecting subgraphs do not change
pointed 'struct snd_ar_control'.  Constify the pointers 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-2-05fd2ecc06fe@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/topology.c