Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp739502rwe; Thu, 25 Aug 2022 08:21:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Pkc4miFjQAhhcxLx4AmROsd7jiZcSFD+OCpKqx34wZmetzUm3cpmJ7uh8nLR+O/9BPUdm X-Received: by 2002:a17:902:7e4d:b0:172:e7ea:e0c0 with SMTP id a13-20020a1709027e4d00b00172e7eae0c0mr4221543pln.73.1661440864779; Thu, 25 Aug 2022 08:21:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661440864; cv=none; d=google.com; s=arc-20160816; b=ubKOly7Suid5zrgXP19iNUKArKN6Bq/dPDj8QWTXwJt05aqUeY+GA90GWC6Gh0ICak gL65QaT6RadPWDRGPk8tzNl53dGWpTvMvPUCRCVe84FnCXHoZNAYBXWcU0ZckfoOfeoO 1UI9QntE+MB35plDmkwL+LjuygriV8wQOQwMIcOftob1FCc/0ImQQ+lZxVoazX0dus7f dLAt3OtIulhZ6c0fqGfuKGxFSrpDuyB4mVjc1KnRN5YxeqwC7Q+L887bYuRnCKSCRIkD 0w0jJhEZ6yp7Y753hnozSFx+HA2vFbDZxBut4FcoEOV0BUHA+2Vujp/Qe7ayDjBFFwBW asBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9q5E2dO7Vvuh3mZ+3q9Pzgh7cxNE5Dy6aCcYQ91ZiBw=; b=KnK2sTR+TbKA2EWVarwfIDP/m4xjtwoAuy3zGgWmz0+GxLAuSHXWlLEgZTJ1uac4yo 9P8BogeWboWKRFFsVAlM7jhFsXEKvma80hrVSl2a1z8Uquwp9J6q1jm0Rcv6mmrfKdLO PukAPC5JZfjVeQAaBs3xvv6c61KD9E6idGa6KJ5Co9lSR6SQFOrwB8YD1M/4T5yhNFu0 gSWGuZBIgZYZRYc3OKAJE7Tc2wf2jwqEqtPQrrJ9e9DkdgPZU2Zp0J8f8NNF+UZpk9wE zL5338WxRCc/TXUKTDp0ZELrM9fIz/SqVpbnrxsqRC2UzzpprcviGdVPV7bwykTKQ7Td Aq1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z8GV6tlc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r3-20020a632b03000000b0042a88e6b1dfsi15109750pgr.770.2022.08.25.08.20.53; Thu, 25 Aug 2022 08:21:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=z8GV6tlc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241969AbiHYO0p (ORCPT + 99 others); Thu, 25 Aug 2022 10:26:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38424 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241888AbiHYO0R (ORCPT ); Thu, 25 Aug 2022 10:26:17 -0400 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C6DE4B6D74 for ; Thu, 25 Aug 2022 07:25:24 -0700 (PDT) Received: by mail-qt1-x82b.google.com with SMTP id r6so6255709qtx.6 for ; Thu, 25 Aug 2022 07:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=9q5E2dO7Vvuh3mZ+3q9Pzgh7cxNE5Dy6aCcYQ91ZiBw=; b=z8GV6tlcZFkSNZP4uYd0O7d0oixQplR8b8QdeZZZVmvm1B5qa8Dx+u6Li8ZaLdEv15 /ObGaSZggDd9w2/ZUVIufW0eJUOTocH9W+qTMCEhS50XVBF9vhIvLOZlui+ilFNFuH7E zkAp7KZKV22QKK6a+pFHp6JM/i60JVJNfQ3nNZvjHOi6Ltx6u/qrbZC9xv4Zzmcqop8J HVyys3S9AMJf5Z8ojNOUiZ3Mzmn/Vd1cQu/I+amG36Ii0/+gmADaobzXmrOtu0nNZcPB AE7/BrUnizOyF9v9iFJ8rvnyMlCOIm/eHU49LyXDV0cqsbR1p9ZuqLimedl2scUlZJmW WbJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=9q5E2dO7Vvuh3mZ+3q9Pzgh7cxNE5Dy6aCcYQ91ZiBw=; b=Q+9s8zPL4sSP+t+iKOQlUrn/0rLHPW78ZKOVit68QXGeodSc3k3M33pVdVUFe28e8h uPPLOW+6f4i+4hoHTNZJBvR/jQM7/PEWxo8xGt56gF3y4Z2XLqqNl3xv7AoI8dv9RGwb pbkOp9mJ02wEXlASbNZMig9H+Jvm881UHsp16/cCpxjJmqjL0rAoiEPG3GGllCljnJgG MLi1R3XxhkF/GoGKOx2dXQzg4yKeWrbJu0aVT8XZUNyNoBcfszkVoG6D+G3UURmY0YRd c1BMo9DL4q2S0CBGFfEJ+OepKSh3jY1nZsY9jmh3aYGr+ys6A8pIj8U6qsW7qe4dMB4X /e9A== X-Gm-Message-State: ACgBeo356YSNaK0LJ+XDHTQQHV7hA8pqlKzDfq/Nc/+LbCutW0c74sda Se7lW7w5wqQWw8ZZGEiSTR7jqP4+ml/+LQ== X-Received: by 2002:ac8:5e0a:0:b0:344:9b69:eef0 with SMTP id h10-20020ac85e0a000000b003449b69eef0mr3798389qtx.666.1661437522981; Thu, 25 Aug 2022 07:25:22 -0700 (PDT) Received: from ishi ([2600:1700:5668:ac50::42]) by smtp.gmail.com with ESMTPSA id bs43-20020a05620a472b00b006b9b7879964sm17697072qkb.28.2022.08.25.07.25.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 07:25:22 -0700 (PDT) Date: Thu, 25 Aug 2022 10:25:20 -0400 From: William Breathitt Gray To: linux-iio@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] counter: 104-quad-8: Fix skipped IRQ lines during events configuration Message-ID: References: <20220815122301.2750-1-william.gray@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7/wmN6eEarodysVb" Content-Disposition: inline In-Reply-To: <20220815122301.2750-1-william.gray@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --7/wmN6eEarodysVb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 15, 2022 at 08:23:01AM -0400, William Breathitt Gray wrote: > IRQ trigger configuration is skipped if it has already been set before; > however, the IRQ line still needs to be OR'd to irq_enabled because > irq_enabled is reset for every events_configure call. This patch moves > the irq_enabled OR operation update to before the irq_trigger check so > that IRQ line enablement is not skipped. >=20 > Fixes: c95cc0d95702 ("counter: 104-quad-8: Fix persistent enabled events = bug") > Signed-off-by: William Breathitt Gray Applied to counter-greg branch. William Breathitt Gray --7/wmN6eEarodysVb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEESdocE8T8CMGLP5oTJYqFfHOePQsFAmMHhkMACgkQJYqFfHOe PQsC0Qf/VmZbA9hKO6hKjRigTL6o6BphZZOyCdnL81/SSUZpEC69d2PJ46D+Hc2u akISOb4qdHJaFowlym1Xi/iNLi/uuDfOlWmhqF+j+dOnLA6RTY3osHUugGQEwS3v /D6V5EBlG53VEuu8r46PRh3Xa1p48lS3PYKq6vQ6hliwIq8Ui2xlXI5gkWnThUsU XL75UrG55xOgy24DMhbIOx+KVt6YdrvE7+9H/rGeVTdQL/fqRxzwd1XXDRSI7cGR VOs2dSRRcJLonj6rQmTmu9t8pNypdS3DQSCdueCSZhBHSjhoYZqokbXdUMlmKEe+ cJwn/gHM+ijDlw0xFxu5t251KYFpKA== =bQZH -----END PGP SIGNATURE----- --7/wmN6eEarodysVb--