]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: qcom: audioreach: Constify function arguments
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Fri, 19 Dec 2025 11:45:48 +0000 (12:45 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 22 Dec 2025 09:01:54 +0000 (09:01 +0000)
commit4ab48cc63e15cb619d641d1edf9a15a0a98875b2
tree27e8fa2579c7df5c8aaa35412ac9614a6a110e7d
parent49675f5e750a2a5d530c56d130017d0337eed18f
ASoC: qcom: audioreach: Constify function arguments

Several functions receive pointers to parsed Audioreach topology (e.g.
'struct audioreach_container', 'struct audioreach_module') and they do
not modify their contents, but copy their data to send to the ADSP.
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-5-05fd2ecc06fe@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/audioreach.c
sound/soc/qcom/qdsp6/audioreach.h