UPSTREAM: ASoC: hdmi-codec: select CONFIG_HDMI
authorArnd Bergmann <arnd@arndb.de>
Tue, 31 May 2016 21:12:00 +0000 (23:12 +0200)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 23 Jun 2016 03:12:34 +0000 (11:12 +0800)
commit691d13010d71b371c7a70edd820b047697f4370a
treeb0dd3db2450a70d492bbf226cdc1d54319d7c57c
parent19993a9b14141fc3d5b7fd5c559957e62d7e0585
UPSTREAM: 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>
(cherry picked from git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git fix/hdmi
 commit 6de7df8d1b1a45a07d6ecc6b4f94179e1e68f5ec)

Change-Id: Iddf276cef778db8cb28e5ea86dec146136887056
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
sound/soc/codecs/Kconfig