From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21040EE0202 for ; Wed, 13 Sep 2023 18:58:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232025AbjIMS6l (ORCPT ); Wed, 13 Sep 2023 14:58:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232040AbjIMS6l (ORCPT ); Wed, 13 Sep 2023 14:58:41 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69F8D1986; Wed, 13 Sep 2023 11:58:37 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 52586C433C8; Wed, 13 Sep 2023 18:58:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694631516; bh=L9fkqwogJ6Mw64LwM2CsR4hDgaa8lc+8w9VbJ4PNCGc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=J8b1Bplv02uuQdKs58aNHvlwnrlJzMkrtHa9J+XFcom8YQCnTmaRf1wDO9C1rwehy 883tTyW9cD7u1328pmVBgbH7da3lwn6FIthkYyQdK224myzMg1+L/AqWtbpr7hGDxo 6/l98Rm8s6Kr8XoEcyOQPtXNKVSPanC/z6rFuo12XwJtEea3RRJ1OSB3pROfDbgvHx vKC2mPhq9Edn8A+aWZJRuoqLF73+7efE1dY8gFUQsatnylccdo7zdJBWp8nYnnv0ja uN/UkoAKU3EuMdnYnq3VB7o2Ew1LM5Q4bCxEtscc37DQQqAOpJhl1WEv+Snu0uVTvf a+88nhgxm98WA== Date: Wed, 13 Sep 2023 19:58:30 +0100 From: Jonathan Cameron To: Antoniu Miclaus Cc: , Subject: Re: [PATCH] iio: addac: Kconfig: update ad74413r selections Message-ID: <20230913195830.04126014@jic23-huawei> In-Reply-To: <20230912085421.51102-1-antoniu.miclaus@analog.com> References: <20230912085421.51102-1-antoniu.miclaus@analog.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Tue, 12 Sep 2023 11:54:21 +0300 Antoniu Miclaus wrote: > Building ad74413r without selecting IIO_BUFFER and > IIO_TRIGGERED_BUFFER generates error with respect to the iio trigger > functions that are used within the driver. > Update the Kconfig accordingly. > > Fixes: fea251b6a5db ("iio: addac: add AD74413R driver") > Signed-off-by: Antoniu Miclaus Applied to the fixes-togreg branch of iio.git and marked for stable. Thanks, Jonathan > --- > drivers/iio/addac/Kconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/iio/addac/Kconfig b/drivers/iio/addac/Kconfig > index 877f9124803c..397544f23b85 100644 > --- a/drivers/iio/addac/Kconfig > +++ b/drivers/iio/addac/Kconfig > @@ -24,6 +24,8 @@ config AD74413R > depends on GPIOLIB && SPI > select REGMAP_SPI > select CRC8 > + select IIO_BUFFER > + select IIO_TRIGGERED_BUFFER > help > Say yes here to build support for Analog Devices AD74412R/AD74413R > quad-channel software configurable input/output solution.