mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
iio: imu: st_lsm6dsx: remove rounding configuration
Remove rounding configuration since it is enabled by default for the FIFO output registers Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
This commit is contained in:
parent
ac2561518b
commit
a678684740
1 changed files with 0 additions and 7 deletions
|
|
@ -54,8 +54,6 @@
|
|||
#define ST_LSM6DSX_REG_BDU_MASK BIT(6)
|
||||
#define ST_LSM6DSX_REG_INT2_ON_INT1_ADDR 0x13
|
||||
#define ST_LSM6DSX_REG_INT2_ON_INT1_MASK BIT(5)
|
||||
#define ST_LSM6DSX_REG_ROUNDING_ADDR 0x16
|
||||
#define ST_LSM6DSX_REG_ROUNDING_MASK BIT(2)
|
||||
|
||||
#define ST_LSM6DSX_REG_ACC_ODR_ADDR 0x10
|
||||
#define ST_LSM6DSX_REG_ACC_ODR_MASK GENMASK(7, 4)
|
||||
|
|
@ -611,11 +609,6 @@ static int st_lsm6dsx_init_device(struct st_lsm6dsx_hw *hw)
|
|||
if (err < 0)
|
||||
return err;
|
||||
|
||||
err = st_lsm6dsx_write_with_mask(hw, ST_LSM6DSX_REG_ROUNDING_ADDR,
|
||||
ST_LSM6DSX_REG_ROUNDING_MASK, 1);
|
||||
if (err < 0)
|
||||
return err;
|
||||
|
||||
/* enable FIFO watermak interrupt */
|
||||
err = st_lsm6dsx_get_drdy_reg(hw, &drdy_int_reg);
|
||||
if (err < 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue