driver, inv_mpu: store register suspend and recover register resume, if hardware...
authorZorro Liu <lyx@rock-chips.com>
Wed, 31 Aug 2016 07:33:19 +0000 (15:33 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 1 Sep 2016 07:49:55 +0000 (15:49 +0800)
commit5bfcbbd79993dfb0ee7e7f3a916fa4ef6ec9042b
tree4919864d4bfaff3007e2570b8b93acc3628fddf9
parentff83b530e9447c66722c945b30190ab13ab68191
driver, inv_mpu: store register suspend and recover register resume, if hardware poweroff when suspend

Change-Id: I758be101acfd7a3a756c75bd4f13542daef850d1
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
drivers/staging/iio/imu/inv_mpu/inv_mpu_core.c
drivers/staging/iio/imu/inv_mpu/inv_mpu_i2c.c
drivers/staging/iio/imu/inv_mpu/inv_mpu_iio.h
drivers/staging/iio/imu/inv_mpu/inv_mpu_spi.c