tree:
https://github.com/plbossart/sound fix/sof-es8336-quirk
head: 96625939a8f1099dff79e7acd81bec23773c72bf
commit: 96625939a8f1099dff79e7acd81bec23773c72bf [48/48] ASoC: SOF: Intel: hda: retrieve
SSP mask for analog audio devices
config: arc-allyesconfig
(
https://download.01.org/0day-ci/archive/20211216/202112160223.h4rvzLus-lk...)
compiler: arceb-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/plbossart/sound/commit/96625939a8f1099dff79e7acd81bec2...
git remote add plbossart-sound
https://github.com/plbossart/sound
git fetch --no-tags plbossart-sound fix/sof-es8336-quirk
git checkout 96625939a8f1099dff79e7acd81bec23773c72bf
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
sound/soc/sof/intel/hda.c: In function 'check_nhlt_ssp_mask':
> sound/soc/sof/intel/hda.c:701:63: error:
'NHLT_DEVICE_I2S' undeclared (first use in this function)
701 |
ssp_mask = intel_nhlt_ssp_endpoint_mask(nhlt, NHLT_DEVICE_I2S);
| ^~~~~~~~~~~~~~~
sound/soc/sof/intel/hda.c:701:63: note: each undeclared identifier is reported only
once for each function it appears in
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_AMD_ACP_CONFIG
Depends on SOUND && !UML && SND && SND_SOC &&
SND_SOC_ACPI
Selected by
- SND_SOC_SOF_AMD_COMMON && SOUND && !UML && SND &&
SND_SOC && SND_SOC_SOF_TOPLEVEL && SND_SOC_SOF_AMD_TOPLEVEL
vim +/NHLT_DEVICE_I2S +701 sound/soc/sof/intel/hda.c
692
693 static int check_nhlt_ssp_mask(struct snd_sof_dev *sdev)
694 {
695 struct nhlt_acpi_table *nhlt;
696 int ssp_mask = 0;
697
698 nhlt = intel_nhlt_init(sdev->dev);
699 if (nhlt && intel_nhlt_has_endpoint_type(nhlt, NHLT_LINK_SSP)) {
700
701 ssp_mask = intel_nhlt_ssp_endpoint_mask(nhlt, NHLT_DEVICE_I2S);
702
703 dev_dbg(sdev->dev, "NHLT_LINK_SSP detected, ssp_mask %#x\n",
ssp_mask);
704
705 intel_nhlt_free(nhlt);
706 }
707
708 return ssp_mask;
709 }
710
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org