drm: bridge: dw-hdmi: add ASoC dependency
Subsystems (3)
PATCH 1/1 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.
--- drivers/gpu/drm/bridge/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/bridge/Kconfig +1 -0
@@ -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
Signature · 6 lines
2.9.0 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi
Quoted 11 lines
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) selectsSND_SOC_HDMI_CODECwhich 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 <[email protected]>---
Quoted 18 lines
drivers/gpu/drm/bridge/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/bridge/Kconfig +1
-0@@ -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 helpSignature · 1 line
2.9.0
Best regards
---
Kuninori Morimoto
Quoted 8 lines · Kuninori Morimoto
Hi
Quoted 5 lines
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) selectsSND_SOC_HDMI_CODECwhich has unmet direct dependencies (SOUND && !M68K && !UML && SND &&SND_SOC)
Quoted 8 lines
Quoted 6 lines
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 <[email protected]>---
Added to drm-misc-next
Thanks for fixing this.
Archit
Quoted 25 lines
Quoted 17 lines
drivers/gpu/drm/bridge/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/bridge/Kconfig +1
-1@@ -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 --Quoted 2 lines
2.9.0
Best regards
---
Kuninori Morimoto
Signature · 6 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel