]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/bridge: sii902x: Select SND_SOC_HDMI_CODEC if SND_SOC is configured
authorJyri Sarha <jsarha@ti.com>
Fri, 29 Nov 2019 15:23:42 +0000 (17:23 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 10 Feb 2020 09:54:59 +0000 (10:54 +0100)
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 automatically by the drivers using it.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
[narmstrong: atomatically -> automatically]
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191129152342.29145-1-jsarha@ti.com
drivers/gpu/drm/bridge/Kconfig

index 98bf43decd3dcecfcc69740c5225a56acd7a90af..20a439199cb833d2838b41cf96e1ce9fc3e3ca1b 100644 (file)
@@ -98,6 +98,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.