Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp5924864pxv; Thu, 29 Jul 2021 01:43:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyR2l0glmrs4mLeWHxli++aY8OAfwVb2KFn+AwBZpAkl2MnUIf81+/SgKdEfw8kENmLX4F1 X-Received: by 2002:a17:906:14d0:: with SMTP id y16mr3558435ejc.248.1627548197332; Thu, 29 Jul 2021 01:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627548197; cv=none; d=google.com; s=arc-20160816; b=VwrgtKJrPu87CjB35tgNjVCfuV61931c9uNoAkklFpE7yxvdhmOINGW1WTz2k2bycj 5LznFBG20n3gDpJW9ZyIGVk/ri/TT+ansv2OVuY5bJjLJFJ2GQZqyPvVgc5p/GQanfxX KQbNCXkNNQ5v3OjZbxo6ucnJPUM2JOf252Q3hdzw0iFxGMnmtilAFjAc8Q28G/YuKRxY KOkEvTIUGEv80Pfc6kkiKvR1cQOiDNjYMB1TVsJy2nxDiWskWSxh8wH0Ff5pXiaeSJmk 22m5NAQkampVMHX8ViVQxXMOK+FuAc6520KHR9sI5+jo93CDu3DxpoqAKHT9Mu3gX8X9 oPog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=G+Hj20CrVCd+r488HZH5z2+miVKr6uOwoBJtcieZwM0=; b=HCfF36/t1/LEl/OBqZzQuWV2DhzH2/6EnHGkUm6Chns/CBzvkKqfw9IuN5if84hRAz kMIC3KPWaPFZwcUcKdcZSooCVIC3WHWO1g1m1iJDEePcPGyKZ+LNCCVLqDfTmzgRX8Na muHBqdKdKyGq5VFhSTrA6HxNX+RVvpLi7GkHzZGisVABikB5/VbVzQrYxcVW+SL+WOzS RazsvrGdYUK4rCyXCzdyj53+wFHa1RIZ9CYeCsnbpsB0rAeftALWMnJvNK8ClpC3HSPH 4uMr8HCoOc1/ZkW47N53fr4N7MZtVkP03UFv0os0MY95J09NhKnEVliKVJUUWT4HSPyK 4m+w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s11si2286417edh.506.2021.07.29.01.42.54; Thu, 29 Jul 2021 01:43:17 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235319AbhG2Ijh (ORCPT + 99 others); Thu, 29 Jul 2021 04:39:37 -0400 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:35300 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234995AbhG2Ije (ORCPT ); Thu, 29 Jul 2021 04:39:34 -0400 Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 16T8Zm6v029854; Thu, 29 Jul 2021 04:39:31 -0400 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com with ESMTP id 3a3k660y9q-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Jul 2021 04:39:31 -0400 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 16T8dTUo060923 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 29 Jul 2021 04:39:29 -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.858.5; Thu, 29 Jul 2021 04:39:28 -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.858.5 via Frontend Transport; Thu, 29 Jul 2021 04:39:28 -0400 Received: from localhost.localdomain ([10.48.65.12]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 16T8dPfc011624; Thu, 29 Jul 2021 04:39:27 -0400 From: To: , CC: Subject: [PATCH 1/3] iio: adc: ad7192: Fix IRQ flag Date: Thu, 29 Jul 2021 11:47:29 +0300 Message-ID: <20210729084731.79135-2-alexandru.tachici@analog.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210729084731.79135-1-alexandru.tachici@analog.com> References: <20210729084731.79135-1-alexandru.tachici@analog.com> MIME-Version: 1.0 Content-Type: text/plain X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: jTrigfJbBhhbDfE0IR4eramP4XPelhyN X-Proofpoint-ORIG-GUID: jTrigfJbBhhbDfE0IR4eramP4XPelhyN X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.790 definitions=2021-07-29_09:2021-07-27,2021-07-29 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 malwarescore=0 suspectscore=0 priorityscore=1501 impostorscore=0 phishscore=0 lowpriorityscore=0 adultscore=0 spamscore=0 bulkscore=0 mlxscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2107290056 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexandru Tachici IRQ type in ad_sigma_delta_info struct was missing. Fixes: da4d3d6bb9f6 ("iio: adc: ad-sigma-delta: Allow custom IRQ flags") Signed-off-by: Alexandru Tachici --- drivers/iio/adc/ad7192.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/iio/adc/ad7192.c b/drivers/iio/adc/ad7192.c index ee8ed9481025..2121a812b0c3 100644 --- a/drivers/iio/adc/ad7192.c +++ b/drivers/iio/adc/ad7192.c @@ -293,6 +293,7 @@ static const struct ad_sigma_delta_info ad7192_sigma_delta_info = { .has_registers = true, .addr_shift = 3, .read_mask = BIT(6), + .irq_flags = IRQF_TRIGGER_FALLING, }; static const struct ad_sd_calib_data ad7192_calib_arr[8] = { -- 2.25.1