sound/soc/intel/common/soc-acpi-intel-sdca-quirks.c:32: undefined reference to `sdca_device_quirk_match'

From: kernel test robot

Date: Wed Nov 04 2026 - 01:54:45 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: cbbddb6b08cc9900a87cccaa9b22bbe06aa4f50a
commit: 677507a5303a6716d9e0bbf3a8ba8c0f27391ab2 ASoC: SDCA: allow building without ACPI
date: 5 weeks ago
config: arm-randconfig-1003-20261104 (https://download.01.org/0day-ci/archive/20261104/202611041412.3SElN2PG-lkp@xxxxxxxxx/config)
compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261104/202611041412.3SElN2PG-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
| Fixes: 677507a5303a ("ASoC: SDCA: allow building without ACPI")
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611041412.3SElN2PG-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

arm-linux-gnueabi-ld: sound/soc/intel/common/soc-acpi-intel-sdca-quirks.o: in function `snd_soc_acpi_intel_sdca_is_device_rt712_vb':
>> sound/soc/intel/common/soc-acpi-intel-sdca-quirks.c:32: undefined reference to `sdca_device_quirk_match'


vim +32 sound/soc/intel/common/soc-acpi-intel-sdca-quirks.c

5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 14
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 15 /*
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 16 * Pretend machine quirk. The argument type is not the traditional
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 17 * 'struct snd_soc_acpi_mach' pointer but instead the sdw_intel_ctx
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 18 * which contains the peripheral information required for the
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 19 * SoundWire/SDCA filter on the SMART_MIC setup and interface
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 20 * revision. When the return value is false, the entry in the
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 21 * 'snd_soc_acpi_mach' table needs to be skipped.
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 22 */
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 23 bool snd_soc_acpi_intel_sdca_is_device_rt712_vb(void *arg)
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 24 {
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 25 struct sdw_intel_ctx *ctx = arg;
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 26 int i;
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 27
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 28 if (!ctx)
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 29 return false;
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 30
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 31 for (i = 0; i < ctx->peripherals->num_peripherals; i++) {
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 @32 if (sdca_device_quirk_match(ctx->peripherals->array[i],
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 33 SDCA_QUIRKS_RT712_VB))
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 34 return true;
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 35 }
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 36
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 37 return false;
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 38 }
cdd30ebb1b9f36 Peter Zijlstra 2024-12-02 39 EXPORT_SYMBOL_NS(snd_soc_acpi_intel_sdca_is_device_rt712_vb, "SND_SOC_ACPI_INTEL_SDCA_QUIRKS");
5703ab86ff7bf0 Pierre-Louis Bossart 2024-10-16 40

:::::: The code at line 32 was first introduced by commit
:::::: 5703ab86ff7bf079aa1ddf7a65b9727d0249383a ASoC: Intel: soc-acpi: add is_device_rt712_vb() helper

:::::: TO: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
:::::: CC: Mark Brown <broonie@xxxxxxxxxx>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki