iio: imu: inv_mpu6050: add accel lpf setting for chip >= MPU6500

commit 948588e25b upstream.

Starting from MPU6500, accelerometer dlpf is set in a separate
register named ACCEL_CONFIG_2.
Add this new register in the map and set it for the corresponding
chips.

Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jean-Baptiste Maneyrol 2017-05-29 09:59:40 +00:00 • committed by Greg Kroah-Hartman
commit cf6ac3abb3
2 changed files with 39 additions and 3 deletions