]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: qcom: topology: Constify pointed snd_soc_tplg_dapm_widget
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Fri, 19 Dec 2025 11:45:47 +0000 (12:45 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 22 Dec 2025 09:01:53 +0000 (09:01 +0000)
commit49675f5e750a2a5d530c56d130017d0337eed18f
tree7dd5f837991666d3e80fa6d2ada680eb836c740b
parent61fc95c4e3b26b3d1259a87124bdc25e4f71a8df
ASoC: qcom: topology: Constify pointed snd_soc_tplg_dapm_widget

Several functions in topology.c receive pointers to 'struct
snd_soc_tplg_dapm_widget' and do not modify their contents.  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-4-05fd2ecc06fe@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/topology.c