tree:
https://github.com/plbossart/sound fix/sof-es8336-quirk
head: ddae1a7bcf5e03d67c07a22f0330cc98384ff548
commit: c84d9cbd2e67af164597fd59656882b9bbefdd86 [18/24] ASoC: SOF: Intel: hda: report SSP
link mask to machine driver
config: alpha-allmodconfig
(
https://download.01.org/0day-ci/archive/20220125/202201250808.pnkwmaOo-lk...)
compiler: alpha-linux-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/c84d9cbd2e67af164597fd59656882b...
git remote add plbossart-sound
https://github.com/plbossart/sound
git fetch --no-tags plbossart-sound fix/sof-es8336-quirk
git checkout c84d9cbd2e67af164597fd59656882b9bbefdd86
# 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=alpha SHELL=/bin/bash sound/soc/sof/intel/
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:675:63: error:
'NHLT_DEVICE_I2S' undeclared (first use in this function)
675 |
ssp_mask = intel_nhlt_ssp_endpoint_mask(nhlt, NHLT_DEVICE_I2S);
| ^~~~~~~~~~~~~~~
sound/soc/sof/intel/hda.c:675:63: note: each undeclared identifier is reported only
once for each function it appears in
vim +/NHLT_DEVICE_I2S +675 sound/soc/sof/intel/hda.c
667
668 static int check_nhlt_ssp_mask(struct snd_sof_dev *sdev)
669 {
670 struct nhlt_acpi_table *nhlt;
671 int ssp_mask = 0;
672
673 nhlt = intel_nhlt_init(sdev->dev);
674 if (nhlt && intel_nhlt_has_endpoint_type(nhlt, NHLT_LINK_SSP)) {
675 ssp_mask = intel_nhlt_ssp_endpoint_mask(nhlt, NHLT_DEVICE_I2S);
676 if (ssp_mask)
677 dev_info(sdev->dev, "NHLT_DEVICE_I2S detected, ssp_mask %#x\n",
ssp_mask);
678
679 intel_nhlt_free(nhlt);
680 }
681
682 return ssp_mask;
683 }
684
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org