iio: imu: inv_mpu6050: update LPF bandwidth settings
authorJean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Thu, 6 Feb 2020 10:31:04 +0000 (11:31 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 14 Feb 2020 15:06:25 +0000 (15:06 +0000)
commit9fc89f796513ca6ce2a3a8f56b90ede7c3d42ba5
treeaf097433c64c69b76fc258c0a57c708f5f21022a
parent8abce87d39912e57ade3c141049ffa2eea85846b
iio: imu: inv_mpu6050: update LPF bandwidth settings

As every chip has some little variant in LPF bandwidth values,
use common values that are working for all chips.
Simplify the LPF setting function.

Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h