From: kbuild test robot <lkp@intel.com>
To: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.de>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Subject: sound/soc/intel/boards/hda_dsp_common.c:76: undefined reference to `snd_hda_codec_build_controls'
Date: Thu, 6 Feb 2020 13:29:52 +0800 [thread overview]
Message-ID: <202002061349.zDVX3Qdu%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2643 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 42351 bytes --]
next reply other threads:[~2020-02-06 5:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-06 5:29 kbuild test robot [this message]
2020-02-06 7:54 ` sound/soc/intel/boards/hda_dsp_common.c:76: undefined reference to `snd_hda_codec_build_controls' Takashi Iwai
2020-02-06 16:55 ` Pierre-Louis Bossart
2020-02-06 18:01 ` Pierre-Louis Bossart
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202002061349.zDVX3Qdu%lkp@intel.com \
--to=lkp@intel.com \
--cc=broonie@kernel.org \
--cc=kai.vehmanen@linux.intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).