[ammarfaizi2-block:tiwai/sound/master 182/191] cs35l41_hda.c:undefined reference to `cs35l41_set_channels'

From: kernel test robot
Date: Sat Jan 08 2022 - 19:56:32 EST


tree: https://github.com/ammarfaizi2/linux-block tiwai/sound/master
head: d678af1433773cd81ebc1054131c8efc9ff00269
commit: 7b2f3eb492dac7665c75df067e4d8e4869589f4a [182/191] ALSA: hda: cs35l41: Add support for CS35L41 in HDA systems
config: ia64-buildonly-randconfig-r005-20220108 (https://download.01.org/0day-ci/archive/20220109/202201090857.2SBm5aTL-lkp@xxxxxxxxx/config)
compiler: ia64-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/ammarfaizi2/linux-block/commit/7b2f3eb492dac7665c75df067e4d8e4869589f4a
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block tiwai/sound/master
git checkout 7b2f3eb492dac7665c75df067e4d8e4869589f4a
# 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=ia64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

Note: the ammarfaizi2-block/tiwai/sound/master HEAD 1847f902f2a4c9143cb79507713fae0716928a27 builds fine.
It only hurts bisectability.

All errors (new ones prefixed by >>):

ia64-linux-ld: sound/pci/hda/cs35l41_hda.o: in function `cs35l41_hda_channel_map':
>> cs35l41_hda.c:(.text+0x222): undefined reference to `cs35l41_set_channels'
ia64-linux-ld: sound/pci/hda/cs35l41_hda.o: in function `cs35l41_hda_apply_properties':
>> cs35l41_hda.c:(.text+0xd52): undefined reference to `cs35l41_boost_config'
>> ia64-linux-ld: cs35l41_hda.c:(.text+0xdf2): undefined reference to `cs35l41_set_channels'
ia64-linux-ld: sound/pci/hda/cs35l41_hda.o: in function `cs35l41_hda_probe':
>> cs35l41_hda.c:(.text+0x1252): undefined reference to `cs35l41_register_errata_patch'
>> ia64-linux-ld: cs35l41_hda.c:(.text+0x1282): undefined reference to `cs35l41_otp_unpack'
ia64-linux-ld: sound/pci/hda/cs35l41_hda_spi.o: in function `cs35l41_hda_spi_probe':
>> cs35l41_hda_spi.c:(.text+0x82): undefined reference to `cs35l41_regmap_spi'
>> ia64-linux-ld: cs35l41_hda_spi.c:(.text+0xa0): undefined reference to `cs35l41_regmap_spi'
>> ia64-linux-ld: cs35l41_hda_spi.c:(.text+0xc2): undefined reference to `__devm_regmap_init_spi'
ia64-linux-ld: sound/pci/hda/cs35l41_hda_spi.o: in function `cs35l41_spi_driver_init':
>> cs35l41_hda_spi.c:(.init.text+0x22): undefined reference to `__spi_register_driver'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_SOC_CS35L41_LIB
Depends on SOUND && !UML && SND && SND_SOC
Selected by
- SND_HDA_SCODEC_CS35L41_SPI && SOUND && !UML && SND && SND_HDA && ACPI

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx