From: Arnd Bergmann <[email protected]>

The audio helpers are now a dependency, causing the build to fail
when the Kconfig symbol is turned off:

lontium-lt9611uxc.o: in function `lt9611uxc_bridge_hpd_notify':
lontium-lt9611uxc.c:(.text+0x316): undefined reference to 
`drm_connector_hdmi_audio_plugged_notify'
lontium-lt9611uxc.c:(.text+0x332): undefined reference to 
`drm_connector_hdmi_audio_plugged_notify'
lontium-lt9611uxc.o: in function `lt9611uxc_bridge_hpd_notify':
lontium-lt9611uxc.c:(.text.lt9611uxc_bridge_hpd_notify+0x24): undefined 
reference to `drm_connector_hdmi_audio_plugged_notify'

Fixes: c08c123d4cd6 ("drm/bridge: lontium-lt9611uxc: switch to HDMI audio 
helpers")
Signed-off-by: Arnd Bergmann <[email protected]>
---
 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 39385deafc68..2fc4f0b90443 100644
--- a/drivers/gpu/drm/bridge/Kconfig
+++ b/drivers/gpu/drm/bridge/Kconfig
@@ -181,6 +181,7 @@ config DRM_LONTIUM_LT9611UXC
        tristate "Lontium LT9611UXC DSI/HDMI bridge"
        select SND_SOC_HDMI_CODEC if SND_SOC
        depends on OF
+       select DRM_DISPLAY_HDMI_AUDIO_HELPER
        select DRM_PANEL_BRIDGE
        select DRM_KMS_HELPER
        select DRM_MIPI_DSI
-- 
2.39.5

Reply via email to