diff options
author | Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> | 2020-02-19 15:39:48 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-03-08 17:28:37 +0000 |
commit | a3aaf7770a8887cedf216becc5392e481ee1fcaa (patch) | |
tree | 50261074de888990da7701b81877d8a9e2bfa34e /LICENSES | |
parent | 14c046ed17111b50aa9c5d8bd25d742421ac843c (diff) | |
download | linux-a3aaf7770a8887cedf216becc5392e481ee1fcaa.tar.bz2 |
iio: imu: inv_mpu6050: set power on/off only once during all init
This way there is no need anymore to export the power function to
i2c and spi modules.
Bus setup is done inside init when power is on and the result is
now checked.
Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions