Re: [PATCH] ASoC: meson: axg-spdifout: select SND_PCM_IEC958

From: jbrunet
Date: Tue Jul 24 2018 - 06:03:16 EST


On Tue, 2018-07-24 at 11:36 +0200, Arnd Bergmann wrote:
> When CONFIG_SND_PCM_IEC958 is disabled, we get a link error for the
> new driver:
>
> sound/soc/meson/axg-spdifout.o: In function `axg_spdifout_hw_params':
> axg-spdifout.c:(.text+0x650): undefined reference to
> `snd_pcm_create_iec958_consumer_hw_params'

I used arm64 defconfig to do all my test and this symbol was selected
by the HDMI codec driver, which is probably why missed it.

Thanks a lot for fixing the problem Arnd.

>
> The other users use 'select', so we should do the same here.
>
> Fixes: 53eb4b7aaa04 ("ASoC: meson: add axg spdif output")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Jerome Brunet <jbrunet@xxxxxxxxxxxx>