[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250308145551.06d9ca14@jic23-huawei>
Date: Sat, 8 Mar 2025 14:55:51 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Gustavo Silva <gustavograzs@...il.com>
Cc: Alex Lanzano <lanzano.alex@...il.com>, Lars-Peter Clausen
<lars@...afoo.de>, linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: imu: bmi270: fix initial sampling frequency
configuration
On Wed, 5 Mar 2025 21:11:54 -0300
Gustavo Silva <gustavograzs@...il.com> wrote:
> On Wed, Mar 05, 2025 at 02:49:28PM +0000, Jonathan Cameron wrote:
> > On Tue, 04 Mar 2025 15:01:02 -0300
> > Gustavo Silva <gustavograzs@...il.com> wrote:
> >
> > > In the bmi270_configure_imu() function, the accelerometer and gyroscope
> > > configuration registers are incorrectly written with the mask
> > > BMI270_PWR_CONF_ADV_PWR_SAVE_MSK, which is unrelated to these registers.
> > >
> > > As a result, the accelerometer's sampling frequency is set to 200 Hz
> > > instead of the intended 100 Hz.
> > >
> > > Remove the mask to ensure the correct bits are set in the configuration
> > > registers.
> > >
> > > Signed-off-by: Gustavo Silva <gustavograzs@...il.com>
> >
> > Hi Gustavo,
> >
> > Please reply to this thread with a suitable fixes tag.
> >
> > Thanks,
> >
> > Jonathan
> >
>
> Fixes: 3ea51548d6b2 ("iio: imu: Add i2c driver for bmi270 imu")
Thanks. Applied to the fixes-togreg branch of iio.git.
Given where we are in the cycle I might just drag this into the pull
request for the next merge window.
Jonathan
Powered by blists - more mailing lists