Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Curtis Malainey and committed by
Mark Brown
8dc97ccf ed19c4a9

+2 -2
+2 -2
include/sound/sof/topology.h
··· 26 26 SOF_COMP_MIXER, 27 27 SOF_COMP_MUX, 28 28 SOF_COMP_SRC, 29 - SOF_COMP_SPLITTER, 29 + SOF_COMP_DEPRECATED0, /* Formerly SOF_COMP_SPLITTER */ 30 30 SOF_COMP_TONE, 31 - SOF_COMP_SWITCH, 31 + SOF_COMP_DEPRECATED1, /* Formerly SOF_COMP_SWITCH */ 32 32 SOF_COMP_BUFFER, 33 33 SOF_COMP_EQ_IIR, 34 34 SOF_COMP_EQ_FIR,