summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShuming Fan <shumingf@realtek.com>2026-03-25 17:20:17 +0800
committerMark Brown <broonie@kernel.org>2026-03-25 12:17:43 +0000
commitc991ca3238410b611a2ce59adeca9b55850aff69 (patch)
tree1aa22de0aaecba4d45738b925399994829845021 /include
parentcfb385a8dc88d86a805a5682eaa68f59fa5c0ec3 (diff)
ASoC: SDCA: remove the max count of initialization table
The number of the initialization table may exceed 2048. Therefore, this patch removes the limitation and allows the driver to allocate memory dynamically based on the size of the initialization table. Signed-off-by: Shuming Fan <shumingf@realtek.com> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20260325092017.3221640-1-shumingf@realtek.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/sound/sdca_function.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/sound/sdca_function.h b/include/sound/sdca_function.h
index 79bd5a7a0f88..0e871c786513 100644
--- a/include/sound/sdca_function.h
+++ b/include/sound/sdca_function.h
@@ -27,11 +27,6 @@ struct sdca_function_desc;
#define SDCA_MAX_ENTITY_COUNT 128
/*
- * Sanity check on number of initialization writes, can be expanded if needed.
- */
-#define SDCA_MAX_INIT_COUNT 2048
-
-/*
* The Cluster IDs are 16-bit, so a maximum of 65535 Clusters per
* function can be represented, however limit this to a slightly
* more reasonable value. Can be expanded if needed.