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

ASoC: Intel: Skylake: Fix declaration of enum skl_ch_cfg

Constant 'C4_CHANNEL' does not exist on the firmware side. Value 0xC is
reserved for 'C7_1' instead.

Fixes: 04afbbbb1cba ("ASoC: Intel: Skylake: Update the topology interface structure")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20230519201711.4073845-4-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Cezary Rojewski and committed by
Mark Brown
95109657 d849996f

+2 -1
+2 -1
include/uapi/sound/skl-tplg-interface.h
··· 66 66 SKL_CH_CFG_DUAL_MONO = 9, 67 67 SKL_CH_CFG_I2S_DUAL_STEREO_0 = 10, 68 68 SKL_CH_CFG_I2S_DUAL_STEREO_1 = 11, 69 - SKL_CH_CFG_4_CHANNEL = 12, 69 + SKL_CH_CFG_7_1 = 12, 70 + SKL_CH_CFG_4_CHANNEL = SKL_CH_CFG_7_1, 70 71 SKL_CH_CFG_INVALID 71 72 }; 72 73