Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3576246pxa; Sun, 9 Aug 2020 04:53:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx047kjAB16dahIjczAWsfc7UAtnXIYUCiO7zL70N073zSJdJCOSl6zuygOrNFCug0DS61P X-Received: by 2002:aa7:d45a:: with SMTP id q26mr16296863edr.95.1596974004427; Sun, 09 Aug 2020 04:53:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596974004; cv=none; d=google.com; s=arc-20160816; b=ScQXP9FPdtK9hYSh/wYT6Dr7Eym1Oj3YvtyuLb3IFkSmcXBOQ7Bdqo+qTUQ6iRICgB G1f1e8mCDlYwR/PQG9i1x9IWUkQJvTbNHHYJ7nskgZ6eg2RFqK+Yp2RbFIOJRoSoTVZ8 Zi/kUSarHIZaKbyeFg4SlXnh7M1Mj0Hc7LELXJ6y97TgqwgE0hR2vHhRFLIeDoChsTpD WUsijtehaa2DQrMoB6ly6PiNi0GKV0pzshS1uEqrwdzwQFwBGCRrslA8Var665oRuaHz dkdwPwLibjGcGyCE9O8dQZ2KiS+c/bR5rK0Z4WS0iyZe9uy8TGwPp9VFZv8E7m7f8s8A w9rQ== 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=mnv38It8l7aDOotUg2T6Z+9+uig38XOsxz/QEwJtKZw=; b=SIsLG+gmyK+MehuFXa4G2hqbewXVFweDlkdyGBRnf40JSyBEcuetZ6Qe7yorhK3e0w uCH8cHdslTgclYjdc2GwlCzXwX502uZis3DckfCZXgkkMW4Od3NTTaj/bsqY74Pm5ttZ Q7A0h0sSKrqoWBMBVD+HMtS6rioQ+7BkzcQ6+h/SKIcf1XmHHWOeM1VVqgGo6MWfTd8M THFlyj2T9VCW3q8IPET4W1+FNgYC/ncIA6wLUxBSX30ut//ugLVuklqwfHoG7z/avmQC gWiZaWBT1BMqtc098tzBIMZ1OThGRXYqBRcY43mMevwIxLcZoNCq+zMqjZo2tYJJw8Yd PnnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=khJaIjxD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id z24si8637699ejr.308.2020.08.09.04.52.59; Sun, 09 Aug 2020 04:53:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=khJaIjxD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726377AbgHILwc (ORCPT + 99 others); Sun, 9 Aug 2020 07:52:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:34880 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726256AbgHILwa (ORCPT ); Sun, 9 Aug 2020 07:52:30 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (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 64B98206B5; Sun, 9 Aug 2020 11:52:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1596973949; bh=Orp0fxs1DrPJape5YivoeaV7eJLcIaDwJa56sHn41RM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=khJaIjxDMH3AILlW0BtYz3iAQtTLYQpLos7DGDKcBX11bta/X0RHOPAJkJz9/Tljm 9Lg3carUGQejS2StMUZrbu3xyfdNv+rxej0XFoh8v4xKI6Bqg33exQJEH7J31Y7OnL CRR3CSN6wCrJwm9tQemCYfdVrPHFkd0RKDkpJ7FI= Date: Sun, 9 Aug 2020 12:52:25 +0100 From: Jonathan Cameron To: Heiko Stuebner Cc: Michael Walle , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Simon Xue Subject: Re: [PATCH] iio: adc: rockchip_saradc: select IIO_TRIGGERED_BUFFER Message-ID: <20200809125225.5cddd324@archlinux> In-Reply-To: <2468442.jk0zRepj8P@diego> References: <20200803083001.6689-1-michael@walle.cc> <2468442.jk0zRepj8P@diego> X-Mailer: Claws Mail 3.17.6 (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, 03 Aug 2020 13:59:12 +0200 Heiko Stuebner wrote: > Am Montag, 3. August 2020, 10:30:01 CEST schrieb Michael Walle: > > The kernel fails to compile due to undefined reference to > > devm_iio_triggered_buffer_setup() if IIO_TRIGGERED_BUFFER is not > > enabled. The original patch [1] had this dependency. But somehow it > > didn't make it into the kernel tree. Re-add it. > > > > [1] https://lore.kernel.org/lkml/20200623233011.2319035-3-heiko@sntech.de/ > > > > Fixes: 4e130dc7b413 ("iio: adc: rockchip_saradc: Add support iio buffers") > > Signed-off-by: Michael Walle > > Reviewed-by: Heiko Stuebner Applied to the fixes-togreg branch of iio.git. Thanks, Jonathan > > > --- > > drivers/iio/adc/Kconfig | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig > > index 66d9cc073157..d94dc800b842 100644 > > --- a/drivers/iio/adc/Kconfig > > +++ b/drivers/iio/adc/Kconfig > > @@ -865,6 +865,8 @@ config ROCKCHIP_SARADC > > tristate "Rockchip SARADC driver" > > depends on ARCH_ROCKCHIP || (ARM && COMPILE_TEST) > > depends on RESET_CONTROLLER > > + select IIO_BUFFER > > + select IIO_TRIGGERED_BUFFER > > help > > Say yes here to build support for the SARADC found in SoCs from > > Rockchip. > > > > > >