Message ID | 20230912085421.51102-1-antoniu.miclaus@analog.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9ecd:0:b0:3f2:4152:657d with SMTP id t13csp279548vqx; Tue, 12 Sep 2023 02:23:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGXuRXzr7fQNUxGtLFRqRZNPq/hNegZZ1TlEq5fJ6ubD1PpxYBOJQxOBgPt5F/KwEXQQ1mw X-Received: by 2002:a05:6a20:324a:b0:133:b3a9:90d with SMTP id hm10-20020a056a20324a00b00133b3a9090dmr9443474pzc.36.1694510598268; Tue, 12 Sep 2023 02:23:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694510598; cv=none; d=google.com; s=arc-20160816; b=s8n9A+H83A5nVvZwl+ry4XHc4cz1V8wWqf498YaYz8PlFPpGsh3cTPz3QbnFy9Sw1i MP3cHV3C8j/HXzZ+CELwgt81VXAhb5ah4Hci1xZnLFgxzdMQYLoGSYmFJCNiuOzz1WDZ 4dN0bB7zVszvtY+JFqnC/adz/wExKTOuG+HpeKKjWaCN7MPVDkBpU1XI/xccglk8eITF nsmEKdVMh0ekl5YRSx+MmDyueo5gcSNiNra68Irbu6NmrJaZ7+ALmL9iLYXjhGcxR/cA fOuRBTFTP3OXxbu/uoklCU39wNtm89POq1/Sl+dBiBsnzl06wBMm94jokvghVPOEvy1D wHpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=jNF+ZGV5Y8ltkN/DUDYbuSP34qtdbihP6M2ONRngf2Q=; fh=iEFozIJaHgGxIyH6kopyMt8pdyMWY+zcpqTTOBDbhDg=; b=li5X6mnudbZ//Vhu58JOQyOa2jYrRbFjrOmvD1bdT9i3WCL88GuehoyMpoWBWdEmDT uE6mM1HEu7im3TY3+Tk0eozj5sA+P2dn8LJeZtqflTtoHfk8I7qJeZH2gOA/k6rb73iY wQmS2WgIToyi6e7WoVLESyYMHnzTAPNyRXk7mnFBK32CdXqdKCXREQDHFFzKklq1PPI5 uAqQjh0x7P81WfiJBZ6/0X9/AxAORGl8YpNFKwO2ZZnym+FZOHbIOdvXF6TFaSm00r9u YXcft5pM+xN+fecyHb1fOxMJpV/3rdUPE9K7vf+dLL8oPCjx0L9coz6yxCAWqqqXKc+u 580w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id e25-20020a656799000000b00573fd72dcf8si7523954pgr.550.2023.09.12.02.23.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Sep 2023 02:23:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 24C38826EE21; Tue, 12 Sep 2023 01:54:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.8 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232941AbjILIyt (ORCPT <rfc822;pwkd43@gmail.com> + 38 others); Tue, 12 Sep 2023 04:54:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231311AbjILIyp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 12 Sep 2023 04:54:45 -0400 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADDA3AA; Tue, 12 Sep 2023 01:54:41 -0700 (PDT) Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.22/8.17.1.22) with ESMTP id 38C6Z0Jm006912; Tue, 12 Sep 2023 04:54:38 -0400 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3t15jjdpta-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Sep 2023 04:54:38 -0400 (EDT) Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 38C8sa8O021354 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 12 Sep 2023 04:54:36 -0400 Received: from ASHBMBX9.ad.analog.com (10.64.17.10) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Tue, 12 Sep 2023 04:54:35 -0400 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx9.ad.analog.com (10.64.17.10) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Tue, 12 Sep 2023 04:54:35 -0400 Received: from amiclaus-VirtualBox.ad.analog.com (AMICLAUS-L02.ad.analog.com [10.48.65.194]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 38C8sSxY025529; Tue, 12 Sep 2023 04:54:30 -0400 From: Antoniu Miclaus <antoniu.miclaus@analog.com> To: <jic23@kernel.org>, <linux-iio@vger.kernel.org>, <linux-kernel@vger.kernel.org> CC: Antoniu Miclaus <antoniu.miclaus@analog.com> Subject: [PATCH] iio: addac: Kconfig: update ad74413r selections Date: Tue, 12 Sep 2023 11:54:21 +0300 Message-ID: <20230912085421.51102-1-antoniu.miclaus@analog.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: 2VPOIZzp6z77EyxVcV02bBp26y_umlo1 X-Proofpoint-ORIG-GUID: 2VPOIZzp6z77EyxVcV02bBp26y_umlo1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.601,FMLib:17.11.176.26 definitions=2023-09-12_06,2023-09-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 adultscore=0 malwarescore=0 clxscore=1015 lowpriorityscore=0 mlxlogscore=999 suspectscore=0 priorityscore=1501 bulkscore=0 mlxscore=0 impostorscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2309120075 Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 12 Sep 2023 01:54:56 -0700 (PDT) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1776823145460564901 X-GMAIL-MSGID: 1776823145460564901 |
Series |
iio: addac: Kconfig: update ad74413r selections
|
|
Commit Message
Antoniu Miclaus
Sept. 12, 2023, 8:54 a.m. UTC
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 <antoniu.miclaus@analog.com>
---
drivers/iio/addac/Kconfig | 2 ++
1 file changed, 2 insertions(+)
Comments
On Tue, 12 Sep 2023 11:54:21 +0300 Antoniu Miclaus <antoniu.miclaus@analog.com> 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 <antoniu.miclaus@analog.com> 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.
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.