Revert "iio: imu: nvi: v.337 Fix DMP gyro"
Todd Poynter [Tue, 8 Nov 2016 22:06:04 +0000 (14:06 -0800)]
Bug 1831500

This reverts commit d686b0fd4d60b0a9fc8f7bfd5408f6e557a16684.

Change-Id: I9c09d8aa711bb89c968b96d57912f12ed8dd6847
Signed-off-by: Todd Poynter <tpoynter@nvidia.com>
Reviewed-on: http://git-master/r/1249988
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

drivers/iio/imu/nvi_mpu/nvi.c
drivers/iio/imu/nvi_mpu/nvi_dmp_icm.c

index 62fa901..7a4aad0 100644 (file)
@@ -29,7 +29,7 @@
 
 #include "nvi.h"
 
-#define NVI_DRIVER_VERSION             (337)
+#define NVI_DRIVER_VERSION             (336)
 #define NVI_VENDOR                     "Invensense"
 #define NVI_NAME                       "mpu6xxx"
 #define NVI_NAME_MPU6050               "mpu6050"
index a76a791..75f730a 100644 (file)
@@ -486,7 +486,6 @@ static struct nvi_dmp_dev nvi_dmp_devs[] = {
        {
                .dev                    = DEV_GYR,
                .buf_n                  = 12,
-               .buf_shft               = -15,
                .int_ctl                = GYRO_CALIBR_SET,
                .odr_cfg                = ODR_GYRO_CALIBR,
                .odr_cntr               = ODR_CNTR_GYRO_CALIBR,