From patchwork Mon Apr 15 13:00:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Gasnier X-Patchwork-Id: 10900833 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 87426139A for ; Mon, 15 Apr 2019 13:15:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6806525EA6 for ; Mon, 15 Apr 2019 13:15:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A5EA2851A; Mon, 15 Apr 2019 13:15:07 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0957B25EA6 for ; Mon, 15 Apr 2019 13:15:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=926TWaEUaYz+KXTigzhvNImqXhS8Bn3qici2KBxh4y4=; b=at7/qo+VhEWthj Ij/V0xinyCVtD/DgjmG9Vtxux5LA0aZHdxxvyROx5u+JqqRh/xPnpG0Jc/JOuOWJkE+/pTARUEzDs lOEA/r6b0zx+gMhgjEUNbULxems7yxJEfpbosoi9BHE9KC74fHt7th2MqWzmqTxZ7ae/xQTZ58YpP u9HrAUgeBDfYMPEyrlzf6QBOgn/nbCRKoBFdpK12y1kLlrtf4Vab6Bnvpj+HroJZVWW1wQok9HtAM sQqew9Z1rk1K0t2R113qOuEm51RFCEg3wB+4OoC3+jZ2Yvj1PRwy8ny0tpxnk3KVTR2nIyN/iYbFA WWCMt2QPyAKSOe9LwqhQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hG1Rw-0007gS-OM; Mon, 15 Apr 2019 13:15:04 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hG1Rt-0007NB-F0 for linux-arm-kernel@bombadil.infradead.org; Mon, 15 Apr 2019 13:15:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Uoqg7Lij6gfSw8obSklSmoK1AEAdftOqV1de+IcUbno=; b=QTAa9ikOP1XauD6FHIAz6jQL7 OdELSyrjl/xHai0p6i1ELJKKXbFQZMgvfJCihZh7PIxh8tbbyKD/NE2Aradwfk0TLr7dxKu3E51Fo HxOp6pR7GuKPNUOy7ZRcWTv6UsupsHGgz9hBJcFNjvBSEkOj8ITkxxNxgc1M2HEzWApcUewNRyXVG 50foUfoazVxWoPNetlQerf4zuzpko4IeJEY5ThSa/2j0pEjEoNK3GVCfU7bv0s5vPiyvbgqKlyGUO ybhoNVeChZ4bGTD/2jowemRPq9Qco0b0hRyh3Nwc7lDBpXmgBWcEi1WAoxRrPmWFU9cpXxkSg8ads J3kImXW5w==; Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hG1Er-0006fU-Ng for linux-arm-kernel@lists.infradead.org; Mon, 15 Apr 2019 13:01:35 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3FCuF1O017226; Mon, 15 Apr 2019 15:01:09 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=Uoqg7Lij6gfSw8obSklSmoK1AEAdftOqV1de+IcUbno=; b=KNYzNFpSzFx/QHKy/JzqaBrCKworDozun9OgeYec2uVzmRmkAeOgBVEEcaUg0HM/ueL9 J2tptZNE9mOJr/7zAHkY0wCFOPgnQz1x5kB+h3ZuNLHJDKgp1l/sxEfG0MVqVgcbyGeT nejNR0GEPNFZGQCcxU40mzAAc2cheYgoBe8JPE4aJjEAfp+vtIsnRQ3Q7mL+iIvm3HhB qW60PqHuNzY+mnPHH6v/oWhhNIJtTzM51jyFqDW8KJ0CvjPDLB8649Nnfu9mjnLwm94o wC/EtgU4EG9qr5o+FbeaW1wauW02XxBwywnugOTqGf8OKNEP1vGEbb6Txs3EtfepuojB pg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2ru4w8300f-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 15 Apr 2019 15:01:09 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id B698238; Mon, 15 Apr 2019 13:01:08 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 852612511; Mon, 15 Apr 2019 13:01:08 +0000 (GMT) Received: from localhost (10.75.127.47) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Mon, 15 Apr 2019 15:01:08 +0200 From: Fabrice Gasnier To: , Subject: [PATCH 1/2] iio: adc: stm32-dfsdm: fix unmet direct dependencies detected Date: Mon, 15 Apr 2019 15:00:50 +0200 Message-ID: <1555333251-4422-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1555333251-4422-1-git-send-email-fabrice.gasnier@st.com> References: <1555333251-4422-1-git-send-email-fabrice.gasnier@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG3NODE1.st.com (10.75.127.7) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-15_05:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190415_140133_835582_22BF0386 X-CRM114-Status: GOOD ( 13.37 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sfr@canb.auug.org.au, lars@metafoo.de, olivier.moysan@st.com, benjamin.gaignard@linaro.org, linux-iio@vger.kernel.org, pmeerw@pmeerw.net, arnaud.pouliquen@st.com, linux-kernel@vger.kernel.org, linux-next@vger.kernel.org, mcoquelin.stm32@gmail.com, knaack.h@gmx.de, fabrice.gasnier@st.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, alexandre.torgue@st.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This fixes unmet direct dependencies seen when CONFIG_STM32_DFSDM_ADC is selected: WARNING: unmet direct dependencies detected for IIO_BUFFER_HW_CONSUMER Depends on [n]: IIO [=y] && IIO_BUFFER [=n] Selected by [y]: - STM32_DFSDM_ADC [=y] && IIO [=y] && (ARCH_STM32 [=y] && OF [=y] || COMPILE_TEST [=n]) Fixes: e2e6771c6462 ("IIO: ADC: add STM32 DFSDM sigma delta ADC support") Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig index 846c7ac..b1b2bde 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -821,6 +821,7 @@ config STM32_DFSDM_ADC depends on (ARCH_STM32 && OF) || COMPILE_TEST select STM32_DFSDM_CORE select REGMAP_MMIO + select IIO_BUFFER select IIO_BUFFER_HW_CONSUMER help Select this option to support ADCSigma delta modulator for