Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1585787

Re: [PATCH] ALSA: x86: hdmi: select CONFIG_SND_PCM

From Takashi Iwai <tiwai@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH] ALSA: x86: hdmi: select CONFIG_SND_PCM
Date 2017-02-21 23:50 +0100
Message-ID <tdrpU-Bo-19@gated-at.bofh.it> (permalink)
References <tdqNc-hl-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, 21 Feb 2017 23:02:37 +0100,
Arnd Bergmann wrote:
> 
> The newly added driver uses the PCM helpers and fails to link if they are disabled:
> 
> sound/built-in.o: In function `hdmi_lpe_audio_runtime_suspend':
> intel_hdmi_audio.c:(.text+0x15906): undefined reference to `snd_pcm_suspend'
> sound/built-in.o: In function `had_pcm_hw_params':
> intel_hdmi_audio.c:(.text+0x15ac7): undefined reference to `snd_pcm_lib_malloc_pages'
> sound/built-in.o: In function `had_pcm_open':
> intel_hdmi_audio.c:(.text+0x15d49): undefined reference to `snd_pcm_hw_constraint_integer'
> 
> This uses a Kconfig 'select' statement to make sure they are enabled.
> 
> Fixes: 5dab11d89777 ("ALSA: x86: hdmi: Add audio support for BYT and CHT")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Thanks, applied.


Takashi

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ALSA: x86: hdmi: select CONFIG_SND_PCM Arnd Bergmann <arnd@arndb.de> - 2017-02-21 23:10 +0100
  Re: [PATCH] ALSA: x86: hdmi: select CONFIG_SND_PCM Takashi Iwai <tiwai@suse.de> - 2017-02-21 23:50 +0100

csiph-web