drm/bridge: sii902x: Select SND_SOC_HDMI_CODEC if SND_SOC is configured

Message ID 20191129152342.29145-1-jsarha@ti.com
State New
Headers show
Series
  • drm/bridge: sii902x: Select SND_SOC_HDMI_CODEC if SND_SOC is configured
Related show

Commit Message

Jyri Sarha Nov. 29, 2019, 3:23 p.m.
To enable HDMI audio the SND_SOC_HDMI_CODEC needs to be
configured. Enable HDMI audio by selecting SND_SOC_HDMI_CODEC if
SND_SOC is configured. SND_SOC_HDMI_CODEC has no config menu entry and
should be selected atomatically by the drivers using it.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
---
 drivers/gpu/drm/bridge/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
index 26ff07ad287b..0a60a56ce6dc 100644
--- a/drivers/gpu/drm/bridge/Kconfig
+++ b/drivers/gpu/drm/bridge/Kconfig
@@ -118,6 +118,7 @@  config DRM_SII902X
 	select DRM_KMS_HELPER
 	select REGMAP_I2C
 	select I2C_MUX
+	select SND_SOC_HDMI_CODEC if SND_SOC
 	---help---
 	  Silicon Image sii902x bridge chip driver.