Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp217091imn; Mon, 25 Jul 2022 14:24:55 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t8rVHpYLMUdT9DNEkDqZvJedTPlI2JD3w2pnbnzp6QBiXFzIfoUTXdh6O17uTVxj98Br+W X-Received: by 2002:a17:906:fc6:b0:72f:d080:416 with SMTP id c6-20020a1709060fc600b0072fd0800416mr6945391ejk.1.1658784295685; Mon, 25 Jul 2022 14:24:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658784295; cv=none; d=google.com; s=arc-20160816; b=JRsqo7zklIGrhLrYFMTtK5MIfdCROnunxa9eORNxDOIsAmi7R9ItsRWwJ9k9qzlUQp zZ2h/rUFIn9mqyA2poQ/cBpmJp9SFentPqY55v8o2SGHtEpI8kwP9OlhE65E8zeozaRH mwjd+V47Wy+3T0K6P7Z+UtQEbEacDc9J9XgAEWh2Vb2MimZPAcJ9qwdjhoLeNSsQsFGB a5GJyjxLV7zGAT0fZXpsnxcWkdpsWaZeiyGAbGjEPcsF6JmRO4SwG0GldNnwkzGauV2C rwGsXDZiiS9qEgpxm4YN+Q3Zn4H5I5Az75Lhpx+EsGQUKL5BGAJ4cJkK1gRkcFA6+Kb+ pJBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=cDE3NwBwTuDpjLuPQ61t5UcNlhjZmXhZy7wVD92KeX8=; b=o7vSzdT2hBDkjz5sZ58jVH0nmkJgHL0gINWIXbsK0rbEqUztenTzrcpwA3extmKUv6 rX6jQrlnJa+TaykB/tLT5M5ioRfXaek8WtNRX3GrxSny5NNeUfkGPgJ5TIWRnVWaXfwS RYB4TzIL1QmTkjOma2Od/lux08p2o+ZPhooUkioZHw1sb00USdUFxRLT7fLRfiiiSSaP es+9to3nYiozAIKfZMOHMR1VWcnGT1ijL/WFJEeDizVS76vTg/MC/CgbJsuCfjltAyMZ RQOkUWmFV1h3OLX1+fTs/4+sis2upbBcF8AlB91vv10KICuQdt7j1IaBO0SZWzzDp4SA L4iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cu4WEAq7; 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 l14-20020a056402254e00b0043be0095146si7715878edb.601.2022.07.25.14.24.31; Mon, 25 Jul 2022 14:24:55 -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=cu4WEAq7; 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 S236774AbiGYVUH (ORCPT + 99 others); Mon, 25 Jul 2022 17:20:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234791AbiGYVUF (ORCPT ); Mon, 25 Jul 2022 17:20:05 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1637323BFF; Mon, 25 Jul 2022 14:20:05 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id ss3so22727728ejc.11; Mon, 25 Jul 2022 14:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cDE3NwBwTuDpjLuPQ61t5UcNlhjZmXhZy7wVD92KeX8=; b=cu4WEAq7h2e1+ldcFCGnBTJ+mfSuTH2VJNmhtt3PQIkX72AflLf5U4kNMqpw1v4qPT cqtZyd9hCZfbPwm95nB2S4Q8FzMfNof5i8u7LO3CygpwhXGm7rqdopYDzTb6ANsodHNz GuJQ/zvYEajd/p4Cup9t9kpXE37+iAl2BIA5HnrOdwpHulERUxz5/rF2H446vmnKGMwL lX/gjDcUlVK7WJ7a7qH2YH4c1npXvnTXAALx6nOwowSMH/Jp5GVbBx1mWwAlppt5sgAP Sr3N3stGUBkNrRgFM1hN0TysM5LJiCu0h60o2kWfBjnrb3rhkSurkgt08BiQuY4082bP R9qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cDE3NwBwTuDpjLuPQ61t5UcNlhjZmXhZy7wVD92KeX8=; b=tqfDQ3/9Av6qP/BLWfXO4JpuwTph/y8TGG5x1rBW1EaQWZ232F87uvTgUeLO8Q9kGU hKxp9VvdoKqduzGuzcSbe/LE6A8OCMqUhAkBFvsNjoERMoRfSdGaMdWu3e7LI+U7TG8c RfsU5AaytqH1Uard1g4Sqb+7FzHXmR3hd8xxA72hIL6HZdP083o+3RIWt6RmJoJpVjYk ThJ5jt/HoLGiN1SAJIJVRaqjl9tqFGuNVe9iVsuH9glgKMuqKmRTCX/sFlc0GboDJTjV CDOYqByR1iEFCFgIdyubzbIn693rBsJNxbwBvwr6T4OWDRZ8CdRLC3OJIRqFYBul4bLp v5NA== X-Gm-Message-State: AJIora/MBY8NIFceqZr1x5ulDMC9AKlPpXjsQQInmmLq74aEpW/e75Mv getbg5/PZGbhsxus92dGsf/VZeirWB3z0+6uVN4= X-Received: by 2002:a17:907:6297:b0:72f:9aad:fcb with SMTP id nd23-20020a170907629700b0072f9aad0fcbmr11289338ejc.161.1658784003634; Mon, 25 Jul 2022 14:20:03 -0700 (PDT) MIME-Version: 1.0 References: <0a99be89263c5e747d541360feede21b0f77e0a5.1658597501.git.ang.iglesiasg@gmail.com> In-Reply-To: <0a99be89263c5e747d541360feede21b0f77e0a5.1658597501.git.ang.iglesiasg@gmail.com> From: Andy Shevchenko Date: Mon, 25 Jul 2022 23:19:27 +0200 Message-ID: Subject: Re: [PATCH v4 5/5] iio: pressure: bmp280: Add more tunable config parameters for BMP380 To: Angel Iglesias Cc: linux-iio , Jonathan Cameron , Lars-Peter Clausen , Paul Cercueil , Ulf Hansson , "Rafael J. Wysocki" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" 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 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 On Sat, Jul 23, 2022 at 7:40 PM Angel Iglesias wrote: > > Allows sampling frequency and IIR filter coefficients configuration > using sysfs ABI. > > The IIR filter coefficient is configurable using the sysfs attribute > "filter_low_pass_3db_frequency". > > Signed-off-by: Angel Iglesias > Reported-by: Andy Shevchenko # uninit var Bugs in new features can't have Reported-by tag. If you wish to give credit, use a cover letter / changelog. ... > + /* > + * Configuration errors are detected on the fly during a measurement The configurations > + * cycle. If the sampling frequency is too low, it's faster to reset > + * measurement loop than wait until next measurement is due. the measurement the next > + * Resets sensor measurement loop toggling between sleep and normal > + * operating modes. > + */ -- With Best Regards, Andy Shevchenko