Re: [PATCH] iio: imu: bmi270: fix initial sampling frequency configuration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx>
> 
> Hi Gustavo,
> 
> Please reply to this thread with a suitable fixes tag.
> 
> Thanks,
> 
> Jonathan
> 

Fixes: 3ea51548d6b2 ("iio: imu: Add i2c driver for bmi270 imu")




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux