Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3355697iob; Mon, 16 May 2022 20:30:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWR7rn9g+o/4APoeHXuxHcMdMp1JiVp3hvCQWoj8XMWJdnO6vRjKiurnZRaRsxLay2Lh6J X-Received: by 2002:a17:906:d552:b0:6f8:6136:d0a0 with SMTP id cr18-20020a170906d55200b006f86136d0a0mr18119944ejc.366.1652758230540; Mon, 16 May 2022 20:30:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652758230; cv=none; d=google.com; s=arc-20160816; b=CC1Q27XXHQ+AklMU7vh4pjUIekFDRbNhHwON4AtKzreMa9qYJAa5xHeABpgaBQDgqW 7Pxjsjt8mAIlqDwimtNDF3GMU0cszCUZwnS2o19I8mfPXtVT6FaJ80AJhAIjZJMxR3kw b4Qq9g23I5mNpiSxe5LPWeeHl4sFW4XTqD4Xl5DITZR+Tfbek4zjNEnPblKUCNO3zyna 9aG0XrXW/Gu7OtljVpLqzjZ3FdXwmLF/VoM7smaL/OCaKH74E6Z3ENvboIsRoefcOgrm LXgz3v5INEMsHSdEivZOgDijxHOxkIWWlhYpcQMjjDfIycjhc5/2/S414+aKzWzClXpD NlBQ== 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:dkim-signature; bh=qRyYZy7MUY9Z/ZyS1jq+AuFFP7q0GxQUZ1g6iG97tyM=; b=KnpX0+AWyiq525cKhgJocItoeqi1fz0ot7j1LtaWtqF8j58o4WbhsQ70FgoubiSSwA RIynR+1kNW8JTPQPKAOsB6Ncbp0jXmR3ZlAX5fPAzJ4Dt+cqVOQGMWw+vUeic/zZhDqq HpuwTHzBkdxaJHdLKegTS4lS9Yi6I6YUk0gXiR3N4LocWkI+s9njMGvmpSRtU0LVScU6 SI+OhUDlrR7BzFlOSA5D4zKsa72b7pLD0NWK6cvpovJDmSa8E10ALCFudAcF9hVvq3w3 5dpSgs/cWvjWM/GzGqoK+2MCh0ojAmRhhFJTx1e32skubvCe9m4pH1yFVbMjmz7VOAPD 22hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=jRAPfAxv; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n9-20020a05640205c900b00423ed4c5c02si13635313edx.205.2022.05.16.20.30.05; Mon, 16 May 2022 20:30:30 -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=@gmail.com header.s=20210112 header.b=jRAPfAxv; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348656AbiEPVFB (ORCPT + 99 others); Mon, 16 May 2022 17:05:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348999AbiEPVE0 (ORCPT ); Mon, 16 May 2022 17:04:26 -0400 Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AA565BE4D; Mon, 16 May 2022 13:40:01 -0700 (PDT) Received: by mail-qt1-x836.google.com with SMTP id hh4so12958863qtb.10; Mon, 16 May 2022 13:40:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qRyYZy7MUY9Z/ZyS1jq+AuFFP7q0GxQUZ1g6iG97tyM=; b=jRAPfAxvk37A+4zg3JePp6ctoOo27aHfPQzvPO/cLLDVov8JMSdbL5Goe5mzQ1GHVI e1KgC/HsHj91CoO2A327UT8DcApUlzJIiPG5K38EJXtL5Vs+JLfh4mAoXfQQ/873B7EG AIrLk+0G9EcwbbiYW2BGLPLYVFzo1g70p+B64FCCRYzTi6CCMkyQzG4rFAtzMZskHrUa g238LZVFMqIHDDcFq8qJOGTvvMVmCyVIsDi3iLIy6iqzK0x4ZHwVnxSDwBlPpA6Uh9JR ZrcCXwJZoMI0V4RLN5EVsFxxHRyuf5sTNC13xv4Btbgo37b+APRDSSp/tmoo+p5j77jI XjLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qRyYZy7MUY9Z/ZyS1jq+AuFFP7q0GxQUZ1g6iG97tyM=; b=dauOcV08lfg+FmpNJVDRRO8fSs+d84+shxfrDnp4ivITeRiV8UCqPcSJxFtAEg7Jeb auX5gyubBlHAUEol/ZGEPt0VBpajoBBDJS/kZg4PmKFe8bjgIvanl/6kX++cGqZ5saOB gzGjJX1FSL/9oJ4ILeNVf1pzZl9O3n52p/qEi9QPy1qfJLPnShH+31Mwo5khhAgsb15m qxrj/qD6GCkagXcz8V7ICEnE3Ver0tNv36bGaqaRdZ77FhcL9VhS0IzGK9ULcSEs8PL4 Wz0MqytTKvy59hku2KdkHZQ5iNQ0svKO+poE6NbajJr1ZBnGC5DxJh/MiByy46mTCJQP ys5w== X-Gm-Message-State: AOAM530TKNeJaPaP3d9xGRTzPywbINb51XmygLXLGNMdR1bH/3r9x4Cg L/TRUfr9E6Ag/NB5jdMnBw7A9RmVXqd9FA== X-Received: by 2002:a05:622a:19a2:b0:2f3:cb4d:d4d9 with SMTP id u34-20020a05622a19a200b002f3cb4dd4d9mr16554824qtc.245.1652733599224; Mon, 16 May 2022 13:39:59 -0700 (PDT) Received: from grrm.lan (bras-base-mtrlpq4809w-grc-17-70-53-205-21.dsl.bell.ca. [70.53.205.21]) by smtp.gmail.com with ESMTPSA id k67-20020a378846000000b006a00fabde68sm6364016qkd.10.2022.05.16.13.39.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 May 2022 13:39:58 -0700 (PDT) From: Yannick Brosseau To: jic23@kernel.org, lars@metafoo.de, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, fabrice.gasnier@foss.st.com, olivier.moysan@foss.st.com Cc: paul@crapouillou.net, linux-iio@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yannick Brosseau Subject: [PATCH v2 0/2] iio: adc: stm32: Fix ADC IRQ handling on STM32F4 Date: Mon, 16 May 2022 16:39:37 -0400 Message-Id: <20220516203939.3498673-1-yannick.brosseau@gmail.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Changes to the STM32 ADC irq handling broke the STM32F4 platforms These two patches bring it back to a working state. Changes: * Removed spurious IRQs detection * Updated comments and commit messages Yannick Brosseau (2): iio: adc: stm32: Fix ADCs iteration in irq handler iio: adc: stm32: Fix IRQs on STM32F4 by removing custom spurious IRQs message drivers/iio/adc/stm32-adc-core.c | 7 ++++++- drivers/iio/adc/stm32-adc.c | 10 ---------- 2 files changed, 6 insertions(+), 11 deletions(-) -- 2.36.1