From patchwork Fri Dec 9 18:13:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabian Frederick X-Patchwork-Id: 9469095 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 4F0F960586 for ; Fri, 9 Dec 2016 22:28:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3EBAC28688 for ; Fri, 9 Dec 2016 22:28:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 31F1728692; Fri, 9 Dec 2016 22:28:38 +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=-1.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5DEDB28688 for ; Fri, 9 Dec 2016 22:28:36 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id D3E222678F2; Fri, 9 Dec 2016 23:28:32 +0100 (CET) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 67EA12678B8; Fri, 9 Dec 2016 23:26:14 +0100 (CET) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0D9F326785B; Fri, 9 Dec 2016 19:13:58 +0100 (CET) Received: from mailrelay115.isp.belgacom.be (mailrelay115.isp.belgacom.be [195.238.20.142]) by alsa0.perex.cz (Postfix) with ESMTP id E05762667C5 for ; Fri, 9 Dec 2016 19:13:33 +0100 (CET) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2BrAgDS8kpY/9JLtVtdHAEFAQsBgzgBA?= =?us-ascii?q?QEBAR+BYI1JlzkBkkyCD4IKhiGBbkAUAQIBAQEBAQEBYiiFRSMpJkskARKIb6w?= =?us-ascii?q?9i1yGPo8EBYcYk1ORIQKQQ5IZHzeBIYMOAYJLPTSJPAEBAQ?= X-IPAS-Result: =?us-ascii?q?A2BrAgDS8kpY/9JLtVtdHAEFAQsBgzgBAQEBAR+BYI1Jlzk?= =?us-ascii?q?BkkyCD4IKhiGBbkAUAQIBAQEBAQEBYiiFRSMpJkskARKIb6w9i1yGPo8EBYcYk?= =?us-ascii?q?1ORIQKQQ5IZHzeBIYMOAYJLPTSJPAEBAQ?= Received: from 210.75-181-91.adsl-dyn.isp.belgacom.be (HELO inkjet2.lan) ([91.181.75.210]) by relay.skynet.be with ESMTP; 09 Dec 2016 19:13:33 +0100 From: Fabian Frederick To: Mark Brown , Krzysztof Kozlowski , Sylwester Nawrocki Date: Fri, 9 Dec 2016 19:13:26 +0100 Message-Id: <1481307206-3649-1-git-send-email-fabf@skynet.be> X-Mailer: git-send-email 2.7.4 Cc: fabf@skynet.be, alsa-devel@alsa-project.org, Geert Uytterhoeven , linux-kernel@vger.kernel.org Subject: [alsa-devel] [PATCH V3 2/2] ASoC: samsung: add GPIOLIB dependency X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP Both SND_SOC_SMARTQ and SND_SOC_SAMSUNG_TM2_WM5110 use gpio/consumer.h This patch adds GPIOLIB || COMPILE_TEST to Kconfig entries to fix runtime dependency. See commit 638f958baeaf ("extcon: Allow compile test of GPIO consumers if !GPIOLIB") for similar problem and explanations. Reviewed-by: Krzysztof Kozlowski Reported-by: Krzysztof Kozlowski Signed-off-by: Fabian Frederick --- V3: -Fix commit message (suggested by Krzysztof Kozlowski) -Add reviewed-by sound/soc/samsung/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/samsung/Kconfig b/sound/soc/samsung/Kconfig index 7c42315..f1f1d79 100644 --- a/sound/soc/samsung/Kconfig +++ b/sound/soc/samsung/Kconfig @@ -111,6 +111,7 @@ config SND_SOC_SAMSUNG_RX1950_UDA1380 config SND_SOC_SMARTQ tristate "SoC I2S Audio support for SmartQ board" depends on MACH_SMARTQ || COMPILE_TEST + depends on GPIOLIB || COMPILE_TEST depends on I2C select SND_SAMSUNG_I2S select SND_SOC_WM8750 @@ -193,6 +194,7 @@ config SND_SOC_ARNDALE_RT5631_ALC5631 config SND_SOC_SAMSUNG_TM2_WM5110 tristate "SoC I2S Audio support for WM5110 on TM2 board" depends on SND_SOC_SAMSUNG && MFD_ARIZONA && I2C && SPI_MASTER + depends on GPIOLIB || COMPILE_TEST select SND_SOC_MAX98504 select SND_SOC_WM5110 select SND_SAMSUNG_I2S