summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorCurtis Malainey <cujomalainey@chromium.org>2023-08-01 00:32:41 +0300
committerMark Brown <broonie@kernel.org>2023-08-01 01:24:03 +0300
commit8dc97ccf94c73c62344a270986b837d02fb77c0f (patch)
tree8b7e2215d5c50ca22c88ced0b6ea21023dd27c02 /include/sound
parented19c4a9b1024c4069d3d9f4daa3eb26a622069d (diff)
downloadlinux-8dc97ccf94c73c62344a270986b837d02fb77c0f.tar.xz
ASoC: SOF: Deprecate invalid enums in IPC3
The switch component was never completed and sat half empty for over 3 years. It was recently deleted. For modern components this would require not change in the kernel but since this was a legacy allocation from the enum days of IPC3 we should mark the respective enum as deprecated. The splitter component was never even got a source file in the firmware. Therefore also delete it since this is not needed. Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Signed-off-by: Curtis Malainey <cujomalainey@chromium.org> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20230731213242.434594-6-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/sof/topology.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/sof/topology.h b/include/sound/sof/topology.h
index 88560281d420..906e2f327ad2 100644
--- a/include/sound/sof/topology.h
+++ b/include/sound/sof/topology.h
@@ -26,9 +26,9 @@ enum sof_comp_type {
SOF_COMP_MIXER,
SOF_COMP_MUX,
SOF_COMP_SRC,
- SOF_COMP_SPLITTER,
+ SOF_COMP_DEPRECATED0, /* Formerly SOF_COMP_SPLITTER */
SOF_COMP_TONE,
- SOF_COMP_SWITCH,
+ SOF_COMP_DEPRECATED1, /* Formerly SOF_COMP_SWITCH */
SOF_COMP_BUFFER,
SOF_COMP_EQ_IIR,
SOF_COMP_EQ_FIR,