mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm: bridge: dw-hdmi: add ASoC dependency
@ 2016-11-25 20:53 Arnd Bergmann
  2016-11-28  1:07 ` Kuninori Morimoto
  0 siblings, 1 reply; 3+ messages in thread
From: Arnd Bergmann @ 2016-11-25 20:53 UTC (permalink / raw)
  To: Archit Taneja
  Cc: Arnd Bergmann, David Airlie, Inki Dae, Philipp Zabel,
	Kuninori Morimoto, Andrzej Hajda, dri-devel, linux-kernel

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")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/gpu/drm/bridge/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
index 4980ecc55721..71db3e659be9 100644
--- a/drivers/gpu/drm/bridge/Kconfig
+++ b/drivers/gpu/drm/bridge/Kconfig
@@ -41,6 +41,7 @@ config DRM_DW_HDMI_AHB_AUDIO
 
 config DRM_DW_HDMI_I2S_AUDIO
 	tristate "Synopsis Designware I2S Audio interface"
+	depends on SND_SOC
 	depends on DRM_DW_HDMI
 	select SND_SOC_HDMI_CODEC
 	help
-- 
2.9.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-11-28  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-25 20:53 [PATCH] drm: bridge: dw-hdmi: add ASoC dependency Arnd Bergmann
2016-11-28  1:07 ` Kuninori Morimoto
2016-11-28  8:43   ` Archit Taneja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome