Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp317202rda; Sat, 21 Oct 2023 08:53:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF9lZajZu6+V9OQvty3z8KBE430UJRZ8M2FfAmSlbunvQLJEEIplYhHgasAELLfHEucwOLA X-Received: by 2002:a05:6a20:7f91:b0:163:a041:336c with SMTP id d17-20020a056a207f9100b00163a041336cmr5391040pzj.48.1697903582277; Sat, 21 Oct 2023 08:53:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697903582; cv=none; d=google.com; s=arc-20160816; b=bwKMj/8AenMVLJjsHJ2JHL8FKTPYmICLb7JxVMRywKMvrvRLWRY6ej/vEBIVhBsfFz wPmHdk4soCd0qj5Y6P5QFXwnED2JP0ICriJnPK797YcJVlaigscbgd3EYBRVH+xuWL5t 6UXiJaa0lvgLondo+v8raMHD+nHv6mUbTBFRioM3uE+g3sK9lbfeIwGOhKxU0n+mLTW+ zNqqOJaelAv5PauFSEJsF9Yez4ptgc/rt3O0l90Hr2qq9ToDho4D6CnJ0VIIAXi1GvHe cc9AYbHs8tnUQM1gTfM54RH+3XAlUS/ngFR9w5YUNA6P14xCnV7s1fRyDUCeXUZj1K7L Hc1w== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=e/anPMjY2zK5IPtnbB7g4DRhIgS47ZFXTHZ4SHEBd68=; fh=GljB7cGzo39zZvR1B5ZknuVHudeSA0qy5rTdXN9Xi+Y=; b=yZ3kgTpfM8rLVDO65GHAlu2xIU3eSlErcW+Vk4PaQoO+GbVCq5BllNbW3KFvLiofrx QicXqfYEVpd6Ad/ElDMdLc1nCo1p06gf15huy9oBq4x2ptqgJ8G4YinxEtaShH7JA5JX Pr/W+1luKLCIBEX56yqOQTvqJ22zeFf/9+dY3Hy0rzDMW5NfiL3eR3iZ0HbL0hrE90Lu h0/i9u50odHe9Cp2mi1SEi3hNPWcZJ/7lOO34mZfI2lKL0lEA1blrM3bvC/WQLtzu5V0 q4hpzomdvfhCp3O286nf0EVK193M1nun40qyFJgGlaYu9hQ8wyMimMJSk9dZdUJUgZB2 N+iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b+K6XEqR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id cu18-20020a17090afa9200b0027ce5205f94si3692788pjb.150.2023.10.21.08.53.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 08:53:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b+K6XEqR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 86A0F8027876; Sat, 21 Oct 2023 08:52:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231550AbjJUPwz (ORCPT + 99 others); Sat, 21 Oct 2023 11:52:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjJUPwy (ORCPT ); Sat, 21 Oct 2023 11:52:54 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7B7913E; Sat, 21 Oct 2023 08:52:52 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EE97FC433C8; Sat, 21 Oct 2023 15:52:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697903572; bh=7TjlB9aoSZ9815DfMrxuJtQz6zC044xTw1Yj6BKuTms=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=b+K6XEqRGp9d0Vz81r4ZvvvUwfHB/srqOevZyaZHtrUXW1zBBo9BU3ofEhSIzRiu5 XPlvWw0voHmJ190ioNpvb4aHCYxAu21mqv9+JwVYDqLO2U2gctBpG0FkLRZ3MKWads P4r7msdXsstOtlp/uySkQbIbUjl9Dn5cl3D1YD5o1+FeG7t9xU5X8Ddtey7VA9l3Bz zPbHPH9z6vz//V106s86txXmPxUQFlt0aA2HiEDNaRYOfCsMjLCVTQSRZjZ+cUR3Ch 5+yhzOxqyLLlnuSUSUwweWkoCf3LRrp7lyjSxoYL97odTfxFJ4CjoUjvbFiUSAOEBH m5DqsV34bGngA== Date: Sat, 21 Oct 2023 16:52:45 +0100 From: Jonathan Cameron To: Andreas Klinger Cc: Andy Shevchenko , Lars-Peter Clausen , Angel Iglesias , Linus Walleij , Sergei Korolev , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] iio: bmp280: fix eoc interrupt usage Message-ID: <20231021165245.4f6c9aa3@jic23-huawei> In-Reply-To: References: <20231018152816.56589-1-ak@it-klinger.de> <20231019162209.18872-1-ak@it-klinger.de> 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 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 21 Oct 2023 08:52:59 -0700 (PDT) On Thu, 19 Oct 2023 19:15:22 +0200 Andreas Klinger wrote: > Hi Andy, > > Andy Shevchenko schrieb am Do, 19. Okt 19:54: > > On Thu, Oct 19, 2023 at 06:22:09PM +0200, Andreas Klinger wrote: > > > Only the bmp085 can have an End-Of-Conversion (EOC) interrupt. But the > > > bmp085 and bmp180 share the same chip id. Therefore it's necessary to > > > distinguish the case in which the interrupt is set. > > > > > > Fix the if statement so that only when the interrupt is set and the chip > > > id is recognized the interrupt is requested. > > > > > > This bug exists since the support of EOC interrupt was introduced. > > > > > Fixes: aae953949651 ("iio: pressure: bmp280: add support for BMP085 EOC interrupt") > > > > As Jonathan already commented, this is part of a tag block below... > > > > > Also add a link to bmp085 datasheet for reference. > > > > > > > ...somewhere here. > > > > > Suggested-by: Sergei Korolev > > > Reviewed-by: Linus Walleij > > > Signed-off-by: Andreas Klinger > > > --- > > > v1 -> v2: Remove extra space (seen by Andy) > > > > > > And seems Jonathan mentioned that this is already fixed in his tree. > > Did I understand that correctly? > > I just read it in the archive. For some reason I didn't get Jonathans mail > yesterday. Sorry for the spam. btw, don't reply to an earlier version. New version is new email thread. Otherwise things get very tricky to follow once we have lots of versions Jonathan > > Andreas >