Revert "Revert "iio: imu: nvi: v.337 Fix DMP gyro""
authorRobert Collins <rcollins@nvidia.com>
Mon, 28 Nov 2016 17:47:13 +0000 (09:47 -0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 7 Dec 2016 05:47:24 +0000 (21:47 -0800)
commite51ecb18011994e5dcea546d3ca8d84d298d20f3
treed788af88c57876b2c684d56f9eace6f4a9a0df02
parentefc0204b472571bb9ab7e243c318bd12f3e721fc
Revert "Revert "iio: imu: nvi: v.337 Fix DMP gyro""

This reverts commit 79d3a1160b94d4b8f83ad5e643c5b6f4cc6b0ce7.

This patch restores the following commit:
    iio: imu: nvi: v.337 Fix DMP gyro

    - Fix ICM DMP gyroscope data output to match the standard FIFO data output.

    Bug 1831500

Bug 200246901
Bug 1831500

Change-Id: Id33e9b4024a6455f65503c6de18b7dbdae76652e
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/1263653
GVS: Gerrit_Virtual_Submit
Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Tested-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Spencer Sutterlin <ssutterlin@nvidia.com>
Tested-by: Spencer Sutterlin <ssutterlin@nvidia.com>
drivers/iio/imu/nvi_mpu/nvi.c
drivers/iio/imu/nvi_mpu/nvi_dmp_icm.c