Commit a241c3d9 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Mark Brown

ASoC: meson: axg-spdifout: select SND_PCM_IEC958

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'

The other users use 'select', so we should do the same here.

Fixes: 53eb4b7a ("ASoC: meson: add axg spdif output")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Acked-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2f562a47
...@@ -56,6 +56,7 @@ config SND_MESON_AXG_SOUND_CARD ...@@ -56,6 +56,7 @@ config SND_MESON_AXG_SOUND_CARD
config SND_MESON_AXG_SPDIFOUT config SND_MESON_AXG_SPDIFOUT
tristate "Amlogic AXG SPDIF Output Support" tristate "Amlogic AXG SPDIF Output Support"
select SND_PCM_IEC958
imply SND_SOC_SPDIF imply SND_SOC_SPDIF
help help
Select Y or M to add support for SPDIF output serializer embedded Select Y or M to add support for SPDIF output serializer embedded
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment