Re: sound/pci/hda/patch_hdmi.c:1086: undefined reference to `snd_hda_get_num_devices'

From: Kai Vehmanen
Date: Thu Feb 06 2020 - 08:40:22 EST


Hey,

On Thu, 6 Feb 2020, kbuild test robot wrote:

> ld: sound/pci/hda/patch_hdmi.o: in function `intel_not_share_assigned_cvt':
> >> sound/pci/hda/patch_hdmi.c:1086: undefined reference to `snd_hda_get_num_devices'
> >> ld: sound/pci/hda/patch_hdmi.c:1098: undefined reference to `snd_hda_get_dev_select'
> >> ld: sound/pci/hda/patch_hdmi.c:1099: undefined reference to `snd_hda_set_dev_select'

hmm, this seems similar case as the previous one today w.r.t
hda_dsp_common.c:76. Patch_hdmi.c is built-in while snd-hda is a module.
Maybe we need to just drop the dependency from the ASoC board files to
SND_HDA_CODEC_HDMI. We don't have one for SND_HDA_CODEC either.

Br, Kai