Re: sound/soc/intel/boards/hda_dsp_common.c:76: undefined reference to `snd_hda_codec_build_controls'

From: Takashi Iwai
Date: Thu Feb 06 2020 - 02:54:41 EST


On Thu, 06 Feb 2020 06:29:52 +0100,
kbuild test robot wrote:
>
> 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@xxxxxxxxx>
>
> 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'

Looks like the revert select enforcing the built-in of SOF while the
legacy HDA is a module. It doesn't look so trivial to fix...


Takashi