From patchwork Fri Nov 25 20:53:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9448113 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E8A9B6075F for ; Fri, 25 Nov 2016 20:54:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CEB0027F95 for ; Fri, 25 Nov 2016 20:54:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C33EE27F9E; Fri, 25 Nov 2016 20:54:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5A8D927F95 for ; Fri, 25 Nov 2016 20:54:42 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D06BB6EB07; Fri, 25 Nov 2016 20:54:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by gabe.freedesktop.org (Postfix) with ESMTPS id 021D86EB07 for ; Fri, 25 Nov 2016 20:54:38 +0000 (UTC) Received: from wuerfel.lan ([78.43.21.235]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0MVEDt-1cE0e508xJ-00YUBR; Fri, 25 Nov 2016 21:54:16 +0100 From: Arnd Bergmann To: Archit Taneja 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= Cc: Arnd Bergmann , Kuninori Morimoto , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 Acked-by: Kuninori Morimoto --- 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