]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
iio: common: NVS v209 common timestamps
authorErik Lilliebjerg <elilliebjerg@nvidia.com>
Wed, 21 Oct 2015 19:20:26 +0000 (12:20 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Sat, 31 Oct 2015 04:57:14 +0000 (21:57 -0700)
commitdf9536515c00a40381f3a6cf9de4097790461f02
tree1e2a881c26876c9d2d36b5a155396e41df127ace
parente1209f4166bcfb5a21d53fcbcd5727de1885e1db
iio: common: NVS v209 common timestamps

- Create a common timestamp function for NVS sensor drivers.
- Timestamp changed from ktime_get_ts to get_monotonic_boottime to address
  the timestamp change through suspend.

- Removed the dependency of the NVI driver on NVS drivers supporting the NVI
  auxiliary bus.  If NVI_MPU is not enabled then these drivers build without
  NVI auxiliary bus API support.

Bug 200142073

Change-Id: I53b16bfb39b53015f3ee1e5418755f9b3f0cd132
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/821141
(cherry picked from commit 7c5801f839a493f17fa81993cc6b2315716c737a)
Reviewed-on: http://git-master/r/823563
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>
19 files changed:
drivers/iio/accel/nvs_ais328dq.c
drivers/iio/common/nvs/Makefile
drivers/iio/common/nvs/nvs_iio.c
drivers/iio/common/nvs/nvs_timestamp.c [new file with mode: 0644]
drivers/iio/gyro/nvs_a3g4250d.c
drivers/iio/imu/nvi_mpu/nvi.c
drivers/iio/imu/nvi_mpu/nvi.h
drivers/iio/light/nvs_cm3217.c
drivers/iio/light/nvs_cm3218.c
drivers/iio/light/nvs_isl2902x.c
drivers/iio/light/nvs_jsa1127.c
drivers/iio/light/nvs_ltr659.c
drivers/iio/light/nvs_max4400x.c
drivers/iio/magnetometer/Makefile
drivers/iio/magnetometer/nvi_ak89xx.c
drivers/iio/pressure/Makefile
drivers/iio/pressure/nvi_bmpX80.c
drivers/iio/proximity/nvs_iqs2x3.c
include/linux/nvs.h