sound/soc/codecs/rt5682.c:2937:undefined reference to `sdw_slave_wait_for_init'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: c425609d6ac4012c8bbf01ec2e10e801b1923a7b commit: 933feddee4d739748fe7d183432d10e589adfe97 [13064/13763] ASoC: rt5682: Use new SoundWire enumeration helper config: i386-randconfig-007-20260615 (https://download.01.org/0day-ci/archive/20260615/[email protected]/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260615/[email protected]/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
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
ld: drivers/pci/controller/cadence/pcie-cadence-plat.o: in function `cdns_plat_pcie_probe':
drivers/pci/controller/cadence/pcie-cadence-plat.c:113:(.text+0x161): undefined reference to `cdns_pcie_ep_setup'
ld: sound/soc/codecs/rt5682.o: in function `rt5682_probe':
>> sound/soc/codecs/rt5682.c:2937:(.text+0x1a4a): undefined reference to `sdw_slave_wait_for_init'
vim +2937 sound/soc/codecs/rt5682.c
2927
2928 static int rt5682_probe(struct snd_soc_component *component)
2929 {
2930 struct rt5682_priv *rt5682 = snd_soc_component_get_drvdata(component);
2931 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component);
2932 int ret;
2933
2934 rt5682->component = component;
2935
2936 if (rt5682->is_sdw) {
> 2937 ret = sdw_slave_wait_for_init(rt5682->slave, RT5682_PROBE_TIMEOUT);
2938 if (ret)
2939 return ret;
2940 }
2941
2942 snd_soc_dapm_disable_pin(dapm, "MICBIAS");
2943 snd_soc_dapm_disable_pin(dapm, "Vref2");
2944 snd_soc_dapm_sync(dapm);
2945 return 0;
2946 }
2947
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki