ASoC: SOF: Deprecate invalid enums in IPC3
authorCurtis Malainey <cujomalainey@chromium.org>
Mon, 31 Jul 2023 21:32:41 +0000 (16:32 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 31 Jul 2023 22:24:03 +0000 (23:24 +0100)
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>
include/sound/sof/topology.h

index 8856028..906e2f3 100644 (file)
@@ -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,