Re: [PATCH 2/3] ASoC: amd: acp-legacy: Add legacy card support for new machines
From: kernel test robot
Date: Tue Feb 22 2022 - 04:15:38 EST
Hi Ajit,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on broonie-sound/for-next]
[also build test ERROR on v5.17-rc5 next-20220217]
[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]
url: https://github.com/0day-ci/linux/commits/Ajit-Kumar-Pandey/ASoC-amd-acp-Add-new-machines-and-minor-tweaks/20220222-141552
base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
config: x86_64-randconfig-r003-20220221 (https://download.01.org/0day-ci/archive/20220222/202202221741.TUA7mZol-lkp@xxxxxxxxx/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/ca902de964769c2e605e5b2b7b91e95d1698f5bc
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ajit-Kumar-Pandey/ASoC-amd-acp-Add-new-machines-and-minor-tweaks/20220222-141552
git checkout ca902de964769c2e605e5b2b7b91e95d1698f5bc
# save the config file to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
>> sound/soc/amd/acp/acp-legacy-mach.c:50:18: error: 'EN_SPKR_GPIO_DW' undeclared here (not in a function); did you mean 'EN_SPKR_GPIO_GB'?
50 | .gpio_spkr_en = EN_SPKR_GPIO_DW,
| ^~~~~~~~~~~~~~~
| EN_SPKR_GPIO_GB
vim +50 sound/soc/amd/acp/acp-legacy-mach.c
42
43 static struct acp_card_drvdata rt5682s_rt1019_data = {
44 .hs_cpu_id = I2S_SP,
45 .amp_cpu_id = I2S_SP,
46 .dmic_cpu_id = DMIC,
47 .hs_codec_id = RT5682S,
48 .amp_codec_id = RT1019,
49 .dmic_codec_id = DMIC,
> 50 .gpio_spkr_en = EN_SPKR_GPIO_DW,
51 };
52
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx