Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp506917rdb; Thu, 19 Oct 2023 10:21:11 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHfdb1weoLCx1/GOgM98fgQRKryM0Zao23YDzEIt1qCX4wqnoNZ2tV0f9K9cOPIRrMBFpLk X-Received: by 2002:a05:6359:298b:b0:166:a6e3:dfc2 with SMTP id qe11-20020a056359298b00b00166a6e3dfc2mr2294260rwb.9.1697736071550; Thu, 19 Oct 2023 10:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697736071; cv=none; d=google.com; s=arc-20160816; b=Wmn/RgVYIx7MMtwXCYNxU/9VGu/IJpJLu2bFLq4ZulNXMnGs143SCV1Hlc2Y3q92XL xMapQFN8/LjfPV1usxSdE0j9Gkv98/FZHsinRSczK7D13aEgk8ygjmToYR/EEMZoC2jm YusvZGUOqNYXa++5sSfG2ATNF8fvI7WXVlRCPEkO8/GvJCtHjyGsM3adXlQ/Eu7InWd9 1/ryaZJE6LkJB+bJE09AIrJvOmMKisWXJXkYtemwlWvuydP0962D4934bj5P8R1mKu2R Ehc4nUv18RPlVDIA5XZ0pZoh1ewNRtHX0YPE3xlRDKO5Q2WJjwtFoDCGBDUrvrpYYDdu XAWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=uOv3o/IzYCak37Ef9YNFgebaLQY88+oIRLxY3fRa+kQ=; fh=xbrj7e+EwoEnF8x8koo/nRnyv0EhEbDjcCTfZZgrLyA=; b=y3ZEwkB6gPELVtKH8Sl2UMyUaq8fyyjBYem+bEMB5qhgdp0EBQKJ6rIQFtExDcJ+Ud Q51gDwbyFJ+YiT51UrTIcmlhD/e+Cwo55QKLV1rRjyUjvYAX82pB3VcMLvS0zc4LExli DQ48/TeZnXmOdcp6h4p3erP3bgAm7NCZcajr3GNRYBCF1IRLKRb5vSWbgi+49DwZ0bpI oyqsvDNojRizs+b3FFnA84M1eYc1z+CMuEgce03QftnJA1YyFT3FQXkZF/YsGy8jv8QC 9mkcUxV/ER0E48INK1WWrtt07kSbY/rxhSoM+yyDaQvgxazh/flKck8DGC/bUtXU0Kfu eWIg== 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:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id g12-20020aa79dcc000000b00691018e3f4dsi75294pfq.201.2023.10.19.10.21.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 10:21:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 6433F81CCDB4; Thu, 19 Oct 2023 10:21:08 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345242AbjJSRU7 (ORCPT + 99 others); Thu, 19 Oct 2023 13:20:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233017AbjJSRU6 (ORCPT ); Thu, 19 Oct 2023 13:20:58 -0400 X-Greylist: delayed 313 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 19 Oct 2023 10:20:56 PDT Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA38A126; Thu, 19 Oct 2023 10:20:56 -0700 (PDT) Received: from localhost ([31.220.118.173]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mnq4Q-1rIPAX3aHa-00pMUm; Thu, 19 Oct 2023 19:15:23 +0200 Date: Thu, 19 Oct 2023 19:15:22 +0200 From: Andreas Klinger To: Andy Shevchenko Cc: Jonathan Cameron , 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: References: <20231018152816.56589-1-ak@it-klinger.de> <20231019162209.18872-1-ak@it-klinger.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:MbuB95zQCzJCAuRmy9TbJEeUL+5uuxt06CS/DYsZ3ucmOQh4Qh3 tPnLIhM//dKKDbbYjbdNYrdjXndTFiCszas8Nz4UrKW1dsKCs7dKcv1Qp+HzsNgpfbZ+rv2 47LPVi4da7N6P0uBk1qdpyicwB3aaTaJ6kp7gTDCnto70Vn5Y9fc+Q6i0XcXcbde0YgG0J0 Zqpjj+bcedRs7kffuOh9A== UI-OutboundReport: notjunk:1;M01:P0:8hVPFhKhLK8=;eztUtI2Qv6usiHJlHiN8ptlPj04 2xuPNcmH3Cn4jhkvgtlYiZwUrvofz2zGtBfD8Z53AG+F9FXzc3cSZMheGjOOxL1G57lXhCvw8 O53xNPxnq29dRBCmj+VpIlz+2eoVWhIBH8P0xJFcx0hBbSltAMOqAkSQweJBEoXR1Svlw7W6Z 0cHx7yAlpbG4pR3yFvEBglxIRM8avdsouO3i9TWvonlL5yy5uP0xl/evHJuofNpcSaR7XMedG vFUYML2Chek9CshUbpylNG8bqK2FYgLMDB+27Gu1WbZKMlwtHOB64Pj94TV3yuhtSzRli0Ypo ZtPwH+MihBvh8CCxIhHYjbV5Oy79DKyYpouv5iK5Kb1EhW0d9OX27Zsd8ln4MZFzsGc3E3kKw UYzidNZtcewFV10ntUjEaw6LqtaZc/iY6qr0m11wLF129YQIpXMNjlZnbAJTn5nM4x8FmkS0V lM7SCDjNTa0uSAlMfSFJRi4R3Ingy72l6ndDvNUlwbe/GXvnLl8wbVxP1U4/WngKy5ClUfkgj gLG0WWU7LKHTKwCyKvGqVQ5FrpLXODodURfJNEYeyN6YRgge0mqtu6PMQ5tflmeMkI6x2aI22 +LUELIXll2feIXlIrV6zwkL+WrdZEla9SJF/ednSb/lcA4RkuUkMVLR2srFie90/veMa/foW7 8R9wQm80ud/GYZhOVxvvWqEfjfUV7XTgpacQxP6Zsiun8DEg9bE/ryL2IU0wIAMvBFh0h4yYA SsL3jvjy48OiuvzHsiwija3OcpC5kO+yiGWCYtEBtFp6rNI38QGpPH+jbMb/qJ1JOo3taIZIB XRImQ/3H8w/imGZSJ2wnw5zG5NxsOdFjM3SmvGq+Jfzlc/D6BNqCnNaFpBajQ5/ioyvoBD1Gu w183fzSGJdob9NaaCYgX/eCZnavnO5tSP30A= X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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 pete.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 (pete.vger.email [0.0.0.0]); Thu, 19 Oct 2023 10:21:08 -0700 (PDT) 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. Andreas