Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp489632rdb; Thu, 19 Oct 2023 09:54:46 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGq9d1yP17Kuibay+KzYjIjMhaY9X2S5wF+aWL75r8nelDBkq0ofiS4FUsIi9eU0xzIgeQJ X-Received: by 2002:a05:6a00:238b:b0:6bd:f224:c791 with SMTP id f11-20020a056a00238b00b006bdf224c791mr2893757pfc.29.1697734485689; Thu, 19 Oct 2023 09:54:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697734485; cv=none; d=google.com; s=arc-20160816; b=ZOMVtvyF+LNqhYiW0L3BpkwBjL9gMxHtwy98scJ9RTeO/8Nj0sZ+jKhGyctyBZVIVF Rhdbrl9i0QTP5ucJbFRoghag6MBegT25CqF3/2CEwsXvIWGWU0EsoJ1hLbfywkqLs225 94Od7Di1ZG9RGfkjKi9LItgUEQ0pVRPjddnhTGVw/seW1zmVB/eKbu7LafyHWHujV6kd xCNux7HNigTZjfTVaMx8Nl8VnANz/Nn1cgBCdPLvDGojlJ/iznGz64z1UaR4Y32Wli/x 9qs31wsTC44KHW11/l20xAPUo7ASVVmrPy2S5+bmP5H+XBAMjX9p7T6pC5JK4tLASaTG UTlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=u3YBUps98SYZcBEHxy7CLU1qmZAeUJjrREKuVVmZrTY=; fh=++WoLvYZ32bBUjUTlxYNtJqDx1I0WdIqT8RUcO5yzkY=; b=ebDjD6EzYCkPLVZzzx/t+hXgkpkfXS3HuzyuDROCddRdGKf6vEBzfn4kN0SjLsbmWJ bVTdtOWl+r+cEtNWdoKmp6pGCQkpRcOoNSbxGbTkh5iL1uNFP6KpbW2o5TufLwa71Vh/ ITRTCqhulUi2iqShzqp1t/+wN7YvCfiUIpKQL1WIr4nEh/DU9efynqRLkLcBDBJQKE4L wj4su0JUUvd+cnVaIUgRJ39egRFSi3ecynduf5ma/CCP9TQJE9sHr6D/8+zgcl463G1R cwkAHwFYBzXvpHNujHQ+pUadu/0+ySIK8IaVBYqUU1SuGNgEc4fYamIA2fvRMRgz4gua bXZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ShlOQ1mC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id b13-20020a63d30d000000b0056a1ed17deasi4733907pgg.675.2023.10.19.09.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 09:54:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ShlOQ1mC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7948482691BA; Thu, 19 Oct 2023 09:54:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235441AbjJSQyk (ORCPT + 99 others); Thu, 19 Oct 2023 12:54:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230262AbjJSQyi (ORCPT ); Thu, 19 Oct 2023 12:54:38 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E492F12F; Thu, 19 Oct 2023 09:54:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697734476; x=1729270476; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=LeVge4ZyAQ43SwbJRJwC0GXIoRIycv1Ay0F3olMiVIg=; b=ShlOQ1mCcYP7C5WkreY4/GD3Ph9h0K1ffVPKGQwciIYpHOgIJBUjtdlv RZBevccPCfdaVcM9g+YluWz/Q0HR1qZbplJ18xL9kcjrGjSpdhA9q9bYz Wq5qfcsHjAknexm55k6sEvwMXeRW4Ozge+QVZshOUPcv26zgBjUf7jX0D RxjP9hbJvWMpNdBPV51f6/2mVMmmnDAiwXe4jo7eMHJJ5uaQP6GeRs//H wxTgNyPfpzKcNuEwhTBVFEg3P7UUf9AJlR71Ono/SrNLsl5H2k/DWnlJi Fk+M0F5VsoAxyq7MJWv5QoIM5Om1x8hatGNdTeho0E3lgutUWeKLaM827 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="417423593" X-IronPort-AV: E=Sophos;i="6.03,237,1694761200"; d="scan'208";a="417423593" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2023 09:54:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10868"; a="706903612" X-IronPort-AV: E=Sophos;i="6.03,237,1694761200"; d="scan'208";a="706903612" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga003.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Oct 2023 09:54:32 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC2) (envelope-from ) id 1qtWI1-00000006vyR-2m5y; Thu, 19 Oct 2023 19:54:29 +0300 Date: Thu, 19 Oct 2023 19:54:29 +0300 From: Andy Shevchenko To: Andreas Klinger 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: <20231019162209.18872-1-ak@it-klinger.de> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 19 Oct 2023 09:54:44 -0700 (PDT) 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? -- With Best Regards, Andy Shevchenko