Hi Zhu, kernel test robot noticed the following build errors: [auto build test ERROR on broonie-sound/for-next] [also build test ERROR on tiwai-sound/for-next tiwai-sound/for-linus linus/master next-20240119] [cannot apply to v6.7] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Zhu-Ning/ASoC-codecs-ES8326-improving-crosstalk-performance/20240119-193247 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next patch link: https://lore.kernel.org/r/20240119112858.2982-4-zhuning0077%40gmail.com patch subject: [PATCH 3/5] ASoC: codecs: ES8326: Adding new volume kcontrols config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20240120/202401201033.SJS8Mtlr-lkp@xxxxxxxxx/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240120/202401201033.SJS8Mtlr-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202401201033.SJS8Mtlr-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): In file included from sound/soc/codecs/es8326.c:16: >> sound/soc/codecs/es8326.c:184:47: error: 'ES8326_DAC_VOL' undeclared here (not in a function); did you mean 'ES8326_DACR_VOL'? 184 | SOC_SINGLE_TLV("DAC Playback Volume", ES8326_DAC_VOL, 0, 0xbf, 0, dac_vol_tlv), | ^~~~~~~~~~~~~~ include/sound/soc.h:34:17: note: in definition of macro 'SOC_DOUBLE_VALUE' 34 | {.reg = xreg, .rreg = xreg, .shift = shift_left, \ | ^~~~ include/sound/soc.h:80:26: note: in expansion of macro 'SOC_SINGLE_VALUE' 80 | .private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 0) } | ^~~~~~~~~~~~~~~~ sound/soc/codecs/es8326.c:184:9: note: in expansion of macro 'SOC_SINGLE_TLV' 184 | SOC_SINGLE_TLV("DAC Playback Volume", ES8326_DAC_VOL, 0, 0xbf, 0, dac_vol_tlv), | ^~~~~~~~~~~~~~ vim +184 sound/soc/codecs/es8326.c b7cd5a85ede3b0 Zhu Ning 2024-01-19 170 5c439937775d77 Zhu Ning 2022-08-16 171 static const struct soc_enum dacpol = 5c439937775d77 Zhu Ning 2022-08-16 172 SOC_ENUM_SINGLE(ES8326_DAC_DSM, 4, 4, dacpol_txt); 5c439937775d77 Zhu Ning 2022-08-16 173 static const struct soc_enum alc_winsize = 5c439937775d77 Zhu Ning 2022-08-16 174 SOC_ENUM_SINGLE(ES8326_ADC_RAMPRATE, 4, 16, winsize); 5c439937775d77 Zhu Ning 2022-08-16 175 static const struct soc_enum drc_winsize = 5c439937775d77 Zhu Ning 2022-08-16 176 SOC_ENUM_SINGLE(ES8326_DRC_WINSIZE, 4, 16, winsize); b7cd5a85ede3b0 Zhu Ning 2024-01-19 177 static const struct soc_enum hp_vol = b7cd5a85ede3b0 Zhu Ning 2024-01-19 178 SOC_VALUE_ENUM_DOUBLE(ES8326_HP_VOL, 4, 0, 7, b7cd5a85ede3b0 Zhu Ning 2024-01-19 179 ARRAY_SIZE(hpvol), hpvol, hp_vol_values); b7cd5a85ede3b0 Zhu Ning 2024-01-19 180 static const struct soc_enum hpvol_spkvol_switch = b7cd5a85ede3b0 Zhu Ning 2024-01-19 181 SOC_ENUM_SINGLE(ES8326_HP_MISC, 6, 4, hp_spkvol_switch); 5c439937775d77 Zhu Ning 2022-08-16 182 5c439937775d77 Zhu Ning 2022-08-16 183 static const struct snd_kcontrol_new es8326_snd_controls[] = { 5c439937775d77 Zhu Ning 2022-08-16 @184 SOC_SINGLE_TLV("DAC Playback Volume", ES8326_DAC_VOL, 0, 0xbf, 0, dac_vol_tlv), 5c439937775d77 Zhu Ning 2022-08-16 185 SOC_ENUM("Playback Polarity", dacpol), 5c439937775d77 Zhu Ning 2022-08-16 186 SOC_SINGLE_TLV("DAC Ramp Rate", ES8326_DAC_RAMPRATE, 0, 0x0f, 0, softramp_rate), 5c439937775d77 Zhu Ning 2022-08-16 187 SOC_SINGLE_TLV("DRC Recovery Level", ES8326_DRC_RECOVERY, 0, 4, 0, drc_recovery_tlv), 5c439937775d77 Zhu Ning 2022-08-16 188 SOC_ENUM("DRC Winsize", drc_winsize), 5c439937775d77 Zhu Ning 2022-08-16 189 SOC_SINGLE_TLV("DRC Target Level", ES8326_DRC_WINSIZE, 0, 0x0f, 0, drc_target_tlv), 5c439937775d77 Zhu Ning 2022-08-16 190 5c439937775d77 Zhu Ning 2022-08-16 191 SOC_DOUBLE_R_TLV("ADC Capture Volume", ES8326_ADC1_VOL, ES8326_ADC2_VOL, 0, 0xff, 0, 5c439937775d77 Zhu Ning 2022-08-16 192 adc_vol_tlv), 5c439937775d77 Zhu Ning 2022-08-16 193 SOC_DOUBLE_TLV("ADC PGA Volume", ES8326_ADC_SCALE, 4, 0, 5, 0, adc_pga_tlv), 5c439937775d77 Zhu Ning 2022-08-16 194 SOC_SINGLE_TLV("ADC PGA Gain Volume", ES8326_PGAGAIN, 0, 10, 0, adc_analog_pga_tlv), 5c439937775d77 Zhu Ning 2022-08-16 195 SOC_SINGLE_TLV("ADC Ramp Rate", ES8326_ADC_RAMPRATE, 0, 0x0f, 0, softramp_rate), 5c439937775d77 Zhu Ning 2022-08-16 196 SOC_SINGLE("ALC Capture Switch", ES8326_ALC_RECOVERY, 3, 1, 0), 5c439937775d77 Zhu Ning 2022-08-16 197 SOC_SINGLE_TLV("ALC Capture Recovery Level", ES8326_ALC_LEVEL, 5c439937775d77 Zhu Ning 2022-08-16 198 0, 4, 0, drc_recovery_tlv), 5c439937775d77 Zhu Ning 2022-08-16 199 SOC_ENUM("ALC Capture Winsize", alc_winsize), 5c439937775d77 Zhu Ning 2022-08-16 200 SOC_SINGLE_TLV("ALC Capture Target Level", ES8326_ALC_LEVEL, 5c439937775d77 Zhu Ning 2022-08-16 201 0, 0x0f, 0, drc_target_tlv), 5c439937775d77 Zhu Ning 2022-08-16 202 e21a9e2701cda5 Zhu Ning 2024-01-19 203 SOC_SINGLE_EXT("CROSSTALK1", SND_SOC_NOPM, 0, 31, 0, e21a9e2701cda5 Zhu Ning 2024-01-19 204 es8326_crosstalk1_get, es8326_crosstalk1_set), e21a9e2701cda5 Zhu Ning 2024-01-19 205 SOC_SINGLE_EXT("CROSSTALK2", SND_SOC_NOPM, 0, 31, 0, e21a9e2701cda5 Zhu Ning 2024-01-19 206 es8326_crosstalk2_get, es8326_crosstalk2_set), b7cd5a85ede3b0 Zhu Ning 2024-01-19 207 b7cd5a85ede3b0 Zhu Ning 2024-01-19 208 SOC_SINGLE_TLV("HPL Playback Volume", ES8326_DACL_VOL, 0, 0xbf, 0, dac_vol_tlv), b7cd5a85ede3b0 Zhu Ning 2024-01-19 209 SOC_SINGLE_TLV("HPR Playback Volume", ES8326_DACR_VOL, 0, 0xbf, 0, dac_vol_tlv), b7cd5a85ede3b0 Zhu Ning 2024-01-19 210 SOC_SINGLE_TLV("SPKL Playback Volume", ES8326_SPKL_VOL, 0, 0xbf, 0, dac_vol_tlv), b7cd5a85ede3b0 Zhu Ning 2024-01-19 211 SOC_SINGLE_TLV("SPKR Playback Volume", ES8326_SPKR_VOL, 0, 0xbf, 0, dac_vol_tlv), b7cd5a85ede3b0 Zhu Ning 2024-01-19 212 b7cd5a85ede3b0 Zhu Ning 2024-01-19 213 SOC_ENUM("HP Volume", hp_vol), b7cd5a85ede3b0 Zhu Ning 2024-01-19 214 SOC_ENUM("HPVol SPKVol switch", hpvol_spkvol_switch), 5c439937775d77 Zhu Ning 2022-08-16 215 }; 5c439937775d77 Zhu Ning 2022-08-16 216 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki