Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2249186yba; Mon, 22 Apr 2019 03:19:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkLCln5qxiM63ZmTh7uUua888vbUi1oSuVx6da/8bUmq0CXc/vb3qlrDr5Qk9Q4eJamsba X-Received: by 2002:a63:5d44:: with SMTP id o4mr18184308pgm.15.1555928357269; Mon, 22 Apr 2019 03:19:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555928357; cv=none; d=google.com; s=arc-20160816; b=Pf2mCfzuokYWH4fWcJbhR2u2MnNXzdMEVhq4/zY9K/pV6nm8xfLcVdyc5rFy073hvz dv6AQy1cPGJA3p6F15AIdae35+Ep9qk3ZMS8OswYai1AanD3hyN4GbGNQUX8WyPBmEi4 paimSel/56w9BONCqaV93GDaZeTU+X4v2I0Dm3k6XEB5ZQp0ebHkTtSySRX1emW7VBWh ewTamlDJYo96BBHssZ+kBDcC87kI4nGoM/CGQrchEFjIeg//Kf2/A1qZxnnxBN6Cb5my PwuX6fDAqkP/hmfpqGhAVyuHjdkR97nCafJbE5a0W44r3qQk+1NcPfUdHUybI+6pvEOJ VGcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=9Iv/TDQ6fcJCtkgcafi6narCEslw84442EaneeC+Ofs=; b=vttcfYc6tWi6mvJcQZpVjZgaqpqDSzFfmD8SmVUhap+b1yKVjcDSiWShx6Grbe7HzT faZZGKCdbbBXdVONF+4pISyV57KNpThzffd+h6Awy9XLqQ809tF9uO53GGuk3aiuxqPg tD/TRyY5gorhNSXaJzWLB0jz/UvnD9pPBccO0DRZTRcxHIrQUEYvCEsTVfrGmjColpk4 u1nji3SIMYmDVA/WLhxRU+IlsQl7CPWkSYv8N4NfOLn8cMSD7KRc4U13HF1kwlyGyjk1 YgAoqgRiJpCXNwLW2U+A4ry7jgFTYweDA1Q1A3RDQFV4Kv4RZrCEDQH6e7eAqyY+n92S nWmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DEMfSg12; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x8si12866023pll.207.2019.04.22.03.19.01; Mon, 22 Apr 2019 03:19:17 -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=@kernel.org header.s=default header.b=DEMfSg12; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727205AbfDVKQv (ORCPT + 99 others); Mon, 22 Apr 2019 06:16:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:40732 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726057AbfDVKQv (ORCPT ); Mon, 22 Apr 2019 06:16:51 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3AF23206A3; Mon, 22 Apr 2019 10:16:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555928210; bh=3TRFGMvJmSa/ZGijQzF5Eyf501z0S9bymkbnBQrSqUs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DEMfSg12iVfykAD87dISJs+7YRgeHmOJPGgAQVxefp5CvJ8BfTGvCipmus7DuOaZl w/dgiz3RSsUxWeo21LSqFHFZmG8glTSS5pAISRZMB2Or9GSqQZ+dgR3sdIAaUY5bff TCfbenXSbTkbPW7L6jTbfJrXytBVoGyOYqMF1Fso= Date: Mon, 22 Apr 2019 11:16:43 +0100 From: Jonathan Cameron To: Fabrice Gasnier Cc: , , , , , , , , , , , , , , Subject: Re: [PATCH 1/2] iio: adc: stm32-dfsdm: fix unmet direct dependencies detected Message-ID: <20190422111643.0270fba6@archlinux> In-Reply-To: <1555333251-4422-2-git-send-email-fabrice.gasnier@st.com> References: <1555333251-4422-1-git-send-email-fabrice.gasnier@st.com> <1555333251-4422-2-git-send-email-fabrice.gasnier@st.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 15 Apr 2019 15:00:50 +0200 Fabrice Gasnier wrote: > 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 Hmm. I wonder how we never got this one from a rand config. Anyhow, give we are near the end of this cycle, I'll take this for the next merge window rather than rushing it through. Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to play with it. Thanks, Jonathan > --- > 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