lkml.org 
[lkml]   [2025]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/6] ASoC: qcom: Constify few things in audioreach and topology
Date
Several functions do not modify the pointed memory they receive, so
marking them as pointers to const would serve as self-explanatory code.
Also safer a bit.

Best regards,
Krzysztof

---
Krzysztof Kozlowski (6):
ASoC: qcom: audioreach: Drop unused audioreach_control_load_mix() arguments
ASoC: qcom: topology: Constify pointed topology and vendor structs
ASoC: qcom: topology: Constify pointed ar control structs
ASoC: qcom: topology: Constify pointed DAPM widget structs
ASoC: qcom: topology: Constify pointed snd_soc_tplg_dapm_widget
ASoC: qcom: audioreach: Constify function arguments

sound/soc/qcom/qdsp6/audioreach.c | 81 ++++++++++++++-----------
sound/soc/qcom/qdsp6/audioreach.h | 16 ++---
sound/soc/qcom/qdsp6/topology.c | 124 +++++++++++++++++++-------------------
3 files changed, 115 insertions(+), 106 deletions(-)
---
base-commit: 62bc45b15c616b563d2600a0755edad3069ff263
change-id: 20251127-b4-container-of-const-asoc-qcom-cf4bba99b341

Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>


\
 
 \ /
  Last update: 2025-11-29 15:03    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog