Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933587AbcKYUzG (ORCPT ); Fri, 25 Nov 2016 15:55:06 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:60834 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933498AbcKYUym (ORCPT ); Fri, 25 Nov 2016 15:54:42 -0500 From: Arnd Bergmann To: Archit Taneja Cc: Arnd Bergmann , David Airlie , Inki Dae , Philipp Zabel , Kuninori Morimoto , Andrzej Hajda , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm: bridge: dw-hdmi: add ASoC dependency Date: Fri, 25 Nov 2016 21:53:11 +0100 Message-Id: <20161125205411.1157522-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:+MzNVTmMZ/XGkqj9qPanM1DSLqO8uklHi25CWv0NQqGd7dcXPv4 G8ZjxTHN189cDw9HSNj8ztjG1MF20hj7ZeS9Te29Qudi7eUfvenRZL4nZf1JfGoy0mz7lM/ T7+3YiTPpSIJ40csTyTUTwEf2AFFnELYsF0OmugeHmtgaXOEs+fr4CVQGeXory6RyWporD2 ao6veb+DZTzknMorZaUPQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:3jJlxQ8TzSw=:0GjYrh/Gh34zqgySbXnf9X AvPNOU+AmMEujucZIzM3RMKOkP87ZOT7qDDlp4vQAcqznPOt9dCuJ5mGkjZKSbzf9ekDM9iEj bapJcf9hOhrOINguQY1uc02eOVELmUY06ZyobM1yLm3JI5v5j4d02d6LFPywbY7Es09kYwMWm TIaNMr5hv+rl0RdDbxE5uMA1XRD6KEnn9u3T0cqdqwiDAPP+F+1qGrEVyiqpvgLx1Up/7m/oB VdbH5OgPW5VaEBytE93MD6ls4+vrFqtbze2Y4XWAoPoHeyo7yyydZF+junjgu/zfi57eQiHDH F1DTkYXmb3PS7Flx3y7h3oRuh+q/gceFET8bwPIXMqmHuDty4waj6BrhNzhCupS0vJn9HZnKp yRdL9TxCQSpLvVDTF/2uoNPK2N0VgqEDXOseC07DT0FjYltcCC+BNWbDdqRT7w3xzAYFb0M7z 2GUQOi9aoMXx8qTtlDiX2zQ8e99LpcqiTH5cYj4vPatWWf3i0HjnqrRaaLs+352/nBNvYe0l5 SID0CJl2DI/IhE/sWm1rCAKiXyNlE7UJSK4JwQnXkpaxusn6U1XSrbHr9HVqpFiFEuSEMUHgq lRBReyh6JhzDJ6gm7/ldGXPT4qlN3nL2jbDLko8qdHftS026wCVgpdIghsH+iOqS2t85sJxU/ KYQpH/Cks2Qzo4nBLGpLgpPMDTJRirVtakgKUCFvoS9CeDhZK0ZKrc3177gkRa3A6XFw= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1079 Lines: 28 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 --- 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