Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2147196yba; Mon, 15 Apr 2019 06:03:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqxb7mzcDUKflsL2R1yqgMPD9zCYH9Z758uH7BaiWcnWUpBwSVJMU8O1h+fRY5siPz0M1+XD X-Received: by 2002:a63:c746:: with SMTP id v6mr68627259pgg.401.1555333402505; Mon, 15 Apr 2019 06:03:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555333402; cv=none; d=google.com; s=arc-20160816; b=ARgILyZZnVXBQFme/gnGbG+j2Z2jq8Mw9VS4f3GTRI8RIlMu0rFh1TzO7k5ubWNsTC 1fTNDntt2yf3rEmT2Wu6ywCNlsuKWab8uH5/PaQHf7JpprI5qNqAI+iLqRbeNCLEi6o7 V/nF0OB+bU4W/oXY8uz31T9d5zTPmtNe0xFUbGOFw/K11htAyLdfRQkGwnZADdUrhuAf V4PNuYUZg/A2xzRDgy4qtpJ4Gvd/BNSbIPZcGidPYjykCCrblgwGIJya1Ym0QnecJAmf eZn8tUX//e5em95q1MV7/IZGDgwgrX4eyUzJBcvnTOmWVaguhZDO6uSBP3H61gZxAPfJ eHBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=0D8QaGMp+ho9NyKV21ZELDgWD3YCd5O2OzDEWt68Ytg=; b=dikKPiXCZDBF2KlRyutcYiiPhNvCOyppmC/JBmnf3r1yUGDMy7xdAhWfTPB+A1cKK2 2V+5nq6+ZcQy6D54lnEGu4zZSQUYvjFotQBpCROBoG4G7zevQhURdkME7ruvJ2XjLK68 7GJU7CiW6mVl1NUOQK1WDjFWWaoJ+hFAhKFVK4Eg8jMzy0Rhe4zPv2wW2GQW7d6m8bXQ +U6MEPqDpQUVex/oxZvmT8HUQBesK8rvJRW6y6l6iAu2WDAqA0w/2HtIJX/Is2YFXCjw dFODlL/m3FYo0G2fzJ6Orj9lrnMpC4ZXpqgCNjJ6LEJ9aZjfHq9SEZ23m3TWdClIHX3o T6hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=qMErbalm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s20si34487237pgs.509.2019.04.15.06.03.05; Mon, 15 Apr 2019 06:03:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=qMErbalm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727529AbfDONCL (ORCPT + 99 others); Mon, 15 Apr 2019 09:02:11 -0400 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:32822 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727373AbfDONCK (ORCPT ); Mon, 15 Apr 2019 09:02:10 -0400 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3FCuLsS020737; Mon, 15 Apr 2019 15:01:10 +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=0D8QaGMp+ho9NyKV21ZELDgWD3YCd5O2OzDEWt68Ytg=; b=qMErbalmbFbfa9n7cUpf4omFlj5ADqyA3yPZ2S9XAn3vmi4TWY7+B52IMS9zHnWdEX1w Q5Efq6noWY2hUTJz4CirGsXZgjCv837ipMwPFjJ0W+m26OMPk4ULZJ9wxfFow0dzzKvJ 9FdUrLWvq4UGag7bupi8pjGbAlDvW1gyCziNCDfiOHIsrDNvBRsEZQXRJRhOHFFPp1Pk h2SFlFuX5VX+RhUeeFDkcjZDgzfSpVBjbIylsHlOetItiD+Q/VhNrInQQHiE5RUAmg7E OPkult4+YVccMJ1T6RbjO/XJ7hPfABB+OGX3POpIkcTur0foKE4jIFaAuLNCADkmu23o xQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2ru6ngjmqe-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 15 Apr 2019 15:01:10 +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 80EB03A; Mon, 15 Apr 2019 13:01:09 +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 4FB862510; Mon, 15 Apr 2019 13:01:09 +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: , CC: , , , , , , , , , , , , , , Subject: [PATCH 2/2] iio: adc: stm32-dfsdm: fix triggered buffer build dependency Date: Mon, 15 Apr 2019 15:00:51 +0200 Message-ID: <1555333251-4422-3-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 Content-Type: text/plain X-Originating-IP: [10.75.127.47] X-ClientProxiedBy: SFHDAG1NODE1.st.com (10.75.127.1) 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This fixes build errors seen when CONFIG_STM32_DFSDM_ADC is set, as stm32-dfsdm-adc driver now also relies on triggered buffer API: Fixes: 11646e81d775 ("iio: adc: stm32-dfsdm: add support for buffer modes") 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 b1b2bde..f3bd32e 100644 --- a/drivers/iio/adc/Kconfig +++ b/drivers/iio/adc/Kconfig @@ -823,6 +823,7 @@ config STM32_DFSDM_ADC select REGMAP_MMIO select IIO_BUFFER select IIO_BUFFER_HW_CONSUMER + select IIO_TRIGGERED_BUFFER help Select this option to support ADCSigma delta modulator for STMicroelectronics STM32 digital filter for sigma delta converter. -- 2.7.4