]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: qcom: Constify APR/GPR result structs
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Sun, 30 Nov 2025 09:40:26 +0000 (10:40 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 19 Dec 2025 21:29:31 +0000 (21:29 +0000)
commita2a631830deb382a3d27b6f52b2d654a3e6bb427
tree6b564acdccd1c4170c4d427dbcd690ddc9b53890
parentf3a86870c5938fe82ce02c29235326d417010ffb
ASoC: qcom: Constify APR/GPR result structs

APR and GPR callbacks receive pointer to const response packet which
holds the response result.  That result should not be modified by
callback, so make it pointer to const for code safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20251130-asoc-apr-const-v1-4-d0833f3ed423@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6adm.c
sound/soc/qcom/qdsp6/q6afe.c
sound/soc/qcom/qdsp6/q6apm.c
sound/soc/qcom/qdsp6/q6asm.c
sound/soc/qcom/qdsp6/q6core.c
sound/soc/qcom/qdsp6/q6prm.c