Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp857844rwn; Thu, 15 Sep 2022 07:24:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5XLVNvJja6KrJ0Nj3r4wki+FtnsvH/epN1nGRi8p1xkbZMQXEoHusO6BQUEdTSoS6aUI6b X-Received: by 2002:a17:907:6d1c:b0:77c:c016:19ef with SMTP id sa28-20020a1709076d1c00b0077cc01619efmr140118ejc.689.1663251892966; Thu, 15 Sep 2022 07:24:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663251892; cv=none; d=google.com; s=arc-20160816; b=jFhDElncMvLv815fdOV3j0tDAHQcu39eqodSdWweQ1QpTBbiUYw0qufzLKOG9XCfji YsCNM2u3+zX+aB/6lNerU5G49Db+8dMeL+FZ5NpcO+FBrr7TKDse2MWBtraNpDpxBoNq rAFSYn1kmwNW9ShTEZBtacD2dzdqvvpbS3U1zjzjFJavOi/LuOvj+BIxgkw6JcO+dFMd 2frOrPnqDesxN7F12UMGeyqLD6ek7tbF5LiyK6C1hn0crBd0TMENVMZEdgNDxUFDIVdu vsKCiW+f4PlZqqUvHjaNNv74AP/8OQfSL4N/zsryBGt1oaf7PigWfqYerpqluknSGCcQ AYHQ== 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=qYRgucsjl/aZw0qtzURdoV6gIqP7jGrFmrF/NdFXoCY=; b=m7nOTMe+POuzQjHEwjtr+mJo7bsWG03h1nhzH8y8DqcIO77M/CJ6P493L5dq34hLJl p84Et5dptJxKUsG4bcSPiX2YlBY7KlG+tLyxq9Ejz0zkI4qNZd/fbmOWZcsD5GgEtaI6 r0vqIMHFcP0H5wTTpGCgDDlgwGWSQyODLFXrQGsNHv01omtbRf0bnodXgH65+Ee2/3nx 7Fe7JqmChMyV6EpgOf7n2vnI9uuVXwkh1uQM1U9K8ftsIuWhMIAFjjz+hai7vPJLutYO 6zA1/4LULDHJqzFX7tGJfKMCLc+HaMeDjyBq25DAkXgDVefP1DE5SWuVYTS/uZ9HIwXM rKhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NY7iVb7U; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd39-20020a1709076e2700b007802781e124si4807978ejc.662.2022.09.15.07.24.23; Thu, 15 Sep 2022 07:24:52 -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=@kernel.org header.s=k20201202 header.b=NY7iVb7U; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229779AbiIONjx (ORCPT + 99 others); Thu, 15 Sep 2022 09:39:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbiIONjt (ORCPT ); Thu, 15 Sep 2022 09:39:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18C6712A9F; Thu, 15 Sep 2022 06:39:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C9C33B82054; Thu, 15 Sep 2022 13:39:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C18B0C433C1; Thu, 15 Sep 2022 13:39:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663249185; bh=EnFkkERMLTpjtQ/t2B9lWfX7du1ItkBYOZh8dr/GFKU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=NY7iVb7Ut5hSSPuz+7lWrUwDsbFrpB/e1y4EII6GH3M/gG188ldhGty/zkAjGJAed GTLt95JXYdws18O3ky3bEYUuiJlihHAkQ3RqrEAD4roIaSpSbUXXhb4PuLE8yuVjbO 0cKd0tH2u/wHhIAstRBLsVmBsoCBkLge/vKauvDw4n/AksVMn6ibIyAotxFjgDFrCu EhxmUtrlgRxqTq4Wr0y0IAzmHRK93fTxkx3srIE4DpX6dnpk6/7E3IE/Wi2sZfk2O7 UNV0s9dpprajNQX9UNDbdULpYUBBwCLWp6jYhoTRu4xjdgGfo3q9V2nShCw8SC5eYu HJQ8WOQjQ5+Nw== Date: Thu, 15 Sep 2022 14:39:44 +0100 From: Jonathan Cameron To: Angel Iglesias Cc: linux-iio , Andy Shevchenko , Lars-Peter Clausen , Paul Cercueil , "Rafael J. Wysocki" , Ulf Hansson , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] iio: pressure: bmp280: fix datasheet links Message-ID: <20220915143944.79348ecb@jic23-huawei> In-Reply-To: <20220912222645.377874-1-ang.iglesiasg@gmail.com> References: <20220912222645.377874-1-ang.iglesiasg@gmail.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; 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=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Tue, 13 Sep 2022 00:26:44 +0200 Angel Iglesias wrote: > Updated links for BMP280 and BME280 datasheets on Bosch website. > Datasheet of BMP180 is no longer available on the manufacturer's website, > changed the link to a copy hosted by a third party. > > Changelog in v2: > * Added a notice about the situation with bmp180 datasheet and list > missing changes from newer versions. Change log needs to be below the --- We don't want that level of detail in the git logs. I tidied that up whilst applying. Also, it's not a good idea to have new versions as replies to older ones. Leads to very deep nesting in email threads and generally makes things less readable. Just post a fresh series each time. Applied to the togreg branch of iio.git and pushed out as testing for 0-day to see if it can find anything (rather unlikely on this patch!) Jonathan > > Reported-by: Andy Shevchenko > Signed-off-by: Angel Iglesias > --- > drivers/iio/pressure/bmp280-core.c | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/drivers/iio/pressure/bmp280-core.c b/drivers/iio/pressure/bmp280-core.c > index fe7aa81e7cc9..01cd32003ca8 100644 > --- a/drivers/iio/pressure/bmp280-core.c > +++ b/drivers/iio/pressure/bmp280-core.c > @@ -9,9 +9,15 @@ > * Driver for Bosch Sensortec BMP180 and BMP280 digital pressure sensor. > * > * Datasheet: > - * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP180-DS000-121.pdf > - * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BMP280-DS001-12.pdf > - * https://ae-bst.resource.bosch.com/media/_tech/media/datasheets/BST-BME280_DS001-11.pdf > + * https://cdn-shop.adafruit.com/datasheets/BST-BMP180-DS000-09.pdf > + * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmp280-ds001.pdf > + * https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme280-ds002.pdf > + * > + * Notice: > + * The link to the bmp180 datasheet points to an outdated version missing these changes: > + * - Changed document referral from ANP015 to BST-MPS-AN004-00 on page 26 > + * - Updated equation for B3 param on section 3.5 to ((((long)AC1 * 4 + X3) << oss) + 2) / 4 > + * - Updated RoHS directive to 2011/65/EU effective 8 June 2011 on page 26 > */ > > #define pr_fmt(fmt) "bmp280: " fmt > > base-commit: 2f61ff8272967c9bdcba810aa978170814b08f7c