Messages in this thread | | | Date | Thu, 6 Feb 2020 13:29:52 +0800 | From | kbuild test robot <> | Subject | sound/soc/intel/boards/hda_dsp_common.c:76: undefined reference to `snd_hda_codec_build_controls' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4c7d00ccf40db99bfb7bd1857bcbf007275704d8 commit: 7de9a47c8971bdec07cc9a62e948382003c5908f ASoC: Intel: skl-hda-dsp-generic: use snd-hda-codec-hdmi date: 3 months ago config: i386-randconfig-e003-20200206 (attached as .config) compiler: gcc-7 (Debian 7.5.0-3) 7.5.0 reproduce: git checkout 7de9a47c8971bdec07cc9a62e948382003c5908f # save the attached .config to linux build tree make ARCH=i386
If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
ld: sound/soc/intel/boards/hda_dsp_common.o: in function `hda_dsp_hdmi_build_controls': >> sound/soc/intel/boards/hda_dsp_common.c:76: undefined reference to `snd_hda_codec_build_controls'
vim +76 sound/soc/intel/boards/hda_dsp_common.c
36 37 #if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC) 38 /* 39 * Search card topology and register HDMI PCM related controls 40 * to codec driver. 41 */ 42 int hda_dsp_hdmi_build_controls(struct snd_soc_card *card, 43 struct snd_soc_component *comp) 44 { 45 struct hdac_hda_priv *hda_pvt; 46 struct hda_codec *hcodec; 47 struct snd_pcm *spcm; 48 struct hda_pcm *hpcm; 49 int err = 0, i = 0; 50 51 if (!comp) 52 return -EINVAL; 53 54 hda_pvt = snd_soc_component_get_drvdata(comp); 55 hcodec = &hda_pvt->codec; 56 57 list_for_each_entry(hpcm, &hcodec->pcm_list_head, list) { 58 spcm = hda_dsp_hdmi_pcm_handle(card, i); 59 if (spcm) { 60 hpcm->pcm = spcm; 61 hpcm->device = spcm->device; 62 dev_dbg(card->dev, 63 "%s: mapping HDMI converter %d to PCM %d (%p)\n", 64 __func__, i, hpcm->device, spcm); 65 } else { 66 hpcm->pcm = 0; 67 hpcm->device = SNDRV_PCM_INVALID_DEVICE; 68 dev_warn(card->dev, 69 "%s: no PCM in topology for HDMI converter %d\n\n", 70 __func__, i); 71 } 72 i++; 73 } 74 snd_hdac_display_power(hcodec->core.bus, 75 HDA_CODEC_IDX_CONTROLLER, true); > 76 err = snd_hda_codec_build_controls(hcodec); 77 if (err < 0) 78 dev_err(card->dev, "unable to create controls %d\n", err); 79 snd_hdac_display_power(hcodec->core.bus, 80 HDA_CODEC_IDX_CONTROLLER, false); 81 82 return err; 83 } 84
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation [unhandled content-type:application/gzip] | |