Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp4002188ybl; Mon, 26 Aug 2019 04:03:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxvYknkX9TsSWKLEHNBuSblrC+rykLRF2vwk04J/odYMHJY6qa6cXzzX4EmXvJpovggmdcj X-Received: by 2002:a17:902:7781:: with SMTP id o1mr18232595pll.205.1566817407442; Mon, 26 Aug 2019 04:03:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566817407; cv=none; d=google.com; s=arc-20160816; b=RZhNn3cgeD+9y3cK4iNZCsHRFPpxDzL5jvhIyu51kEVbOLccYdreQRds/OXtOjjbsx Ww0h4I8u8nqXnDZ1U7wZ6rSrYMcZq21PSdqB+OJ+ijZWAbkEp7ptHMfC5P5BINSAH/QZ 7QyQItYY/7X48o5kSq5cfE+qh11RE0YpdvXNmNq3Dp+Z+QJ9DfUuEV/ba0mRd+4zonNp JMEsvKCC1cASgqWXvbBwlUWr/2NbDfRF72rjiAOuPfz5zB63D7PbLmUqrqONL3MAWIvK laUUqNLedF+WNCxg/4rVK363hnTIXZ3OOP3H7GgMpq7SrVMY/nYgg/YTlueMGaQA3AXb LslA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=TkMx+16jjGJo3Yh79Xe08akmz7FTo5zCwRw0DcgB4kA=; b=xOhTHcBvlZm3cYduJMmHx2IqOL4VTtjZ1dti4YGI1AxJltwWpHK+u5h/Dn3PCbMNSk LUHvomCPjhbAvRP97CqAj84DzQ3qLH7lRGA+Tv7LOXuM6uEeQS/+cQ5iPoSn19kw05A3 n1iI98umBtX2BwqizpdntHW2Es8D7FhqvAlXSnKnIJjD5UturTLmq7jcPxGZboVgTfOm k55mhquxghlYxjhRM819ejag5k4J7EARMObfOoqPI94Hy6b+kswJD7IYoN90dYUlvyV9 tp2tKmFQn2dblhn6JiZgyFJukF8qyKAg/6Doi50cI9knsfy4xqB3XGLQDFQbi9BkPCvk LKGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eBVQ8Vdz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n16si127364pff.23.2019.08.26.04.03.10; Mon, 26 Aug 2019 04:03:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eBVQ8Vdz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1730500AbfHZIPn (ORCPT + 99 others); Mon, 26 Aug 2019 04:15:43 -0400 Received: from mail.kernel.org ([198.145.29.99]:36408 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727951AbfHZIPn (ORCPT ); Mon, 26 Aug 2019 04:15:43 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 49DAE206BA; Mon, 26 Aug 2019 08:15:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1566807341; bh=o46p+1wEJqHNxnPFY9zwnbijwyf1vyUPApcaVBqttjo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=eBVQ8VdzJxQqJMkSFiqjx4vTbtutkgBYvowmS97iIKq4vIOtejWME0yWED/aJFvEk Ke03/HewJ/DLWin96UngA6PyncmMSSpZnIMkvw0WFyumnlKcURLKQEF9ia3+8JCkVU StHkE0EubJErO1BdylmBXNoYHNwgK1RvjhLi8IZU= Date: Mon, 26 Aug 2019 09:15:37 +0100 From: Jonathan Cameron To: Mario Tesi Cc: lorenzo.bianconi83@gmail.com, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, mario.tesi@st.com Subject: Re: [PATCH] iio: imu: st_lsm6dsx: Fix FIFO diff mask for tagged fifo Message-ID: <20190826091537.66e07ec9@archlinux> In-Reply-To: <1566480139-4015-1-git-send-email-martepisa@gmail.com> References: <1566480139-4015-1-git-send-email-martepisa@gmail.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Aug 2019 15:22:19 +0200 Mario Tesi wrote: > From: mario tesi > > According to the latest version of datasheet the mask > for number of unread sensor data in FIFO_STATUS registers > has been extended to 10 bits > > The devices involved are: > - LSM6DSO > - LSM6DSOX > - ASM330LHH > - LSM6DSR > - ISM330DHCX > > Signed-off-by: mario tesi Seems straight forward and should be side effect free I think. Hence I won't wait for Lorenzo to take a look (though there is still a small window for comments whilst the autobuilders poke at it!) Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to take a look. Thanks, Jonathan > --- > drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c > index 85824d6..47b77d0 100644 > --- a/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c > +++ b/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c > @@ -497,7 +497,7 @@ static const struct st_lsm6dsx_settings st_lsm6dsx_sensor_settings[] = { > }, > .fifo_diff = { > .addr = 0x3a, > - .mask = GENMASK(8, 0), > + .mask = GENMASK(9, 0), > }, > .th_wl = 1, > }, > @@ -623,7 +623,7 @@ static const struct st_lsm6dsx_settings st_lsm6dsx_sensor_settings[] = { > }, > .fifo_diff = { > .addr = 0x3a, > - .mask = GENMASK(8, 0), > + .mask = GENMASK(9, 0), > }, > .th_wl = 1, > }, > @@ -726,7 +726,7 @@ static const struct st_lsm6dsx_settings st_lsm6dsx_sensor_settings[] = { > }, > .fifo_diff = { > .addr = 0x3a, > - .mask = GENMASK(8, 0), > + .mask = GENMASK(9, 0), > }, > .th_wl = 1, > },