]> git.karo-electronics.de Git - linux-beck.git/commit
drm: bridge: dw-hdmi: add ASoC dependency
authorArnd Bergmann <arnd@arndb.de>
Fri, 25 Nov 2016 20:53:11 +0000 (21:53 +0100)
committerArchit Taneja <architt@codeaurora.org>
Mon, 28 Nov 2016 08:23:28 +0000 (13:53 +0530)
commit63926ba85fdf943da8e08553acae98be3056fef9
tree9f11c2836239fa704624c4d90053c0ccd6567af0
parentc96521eebc24d49eb109013dcdae08c0c37e4f1e
drm: bridge: dw-hdmi: add ASoC dependency

The newly added sound driver depends on SND_SOC_HDMI_CODEC, which in
turn only makes sense when ASoC is enabled, as shown by this warning:

warning: (DRM_MSM && DRM_STI && DRM_MEDIATEK_HDMI && DRM_I2C_NXP_TDA998X && DRM_DW_HDMI_I2S_AUDIO) selects SND_SOC_HDMI_CODEC which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC)

Since the audio driver is probably useless without the audio subsystem,
adding a dependency here seems the right solution.

Fixes: 2761ba6c0925 ("drm: bridge: add DesignWare HDMI I2S audio support")
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20161125205411.1157522-1-arnd@arndb.de
drivers/gpu/drm/bridge/Kconfig