ASoC: hdmi-codec: select CONFIG_HDMI
authorArnd Bergmann <arnd@arndb.de>
Tue, 31 May 2016 21:12:00 +0000 (23:12 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 2 Jun 2016 11:08:55 +0000 (12:08 +0100)
commit6de7df8d1b1a45a07d6ecc6b4f94179e1e68f5ec
tree09b7ed04f768ed9d19c331c4a0ac8b2dcdbca616
parent1a695a905c18548062509178b98bc91e67510864
ASoC: hdmi-codec: select CONFIG_HDMI

SND_SOC_HDMI_CODEC can be enabled without HDMI support, leading
to a link error:

In function `hdmi_codec_hw_params':
sound/soc/codecs/hdmi-codec.c:188: undefined reference to `hdmi_audio_infoframe_init'
sound/built-in.o:(.debug_addr+0x1a5c0): undefined reference to `hdmi_audio_infoframe_init'

This changes the Kconfig file to select HDMI, as the other codec using
hdmi_audio_infoframe_init already does.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig