diff options
author | Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> | 2020-02-19 15:39:58 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2020-03-08 17:28:40 +0000 |
commit | 74a40e19f9db6606b5263aa08af2c684dd67b3d3 (patch) | |
tree | 5d145d254aa2f815e1b896ce4efeb96f5c657e16 /drivers/iio/orientation | |
parent | 4599cac8461468a10dc375f4d4e12442e2d16d3f (diff) | |
download | linux-74a40e19f9db6606b5263aa08af2c684dd67b3d3.tar.bz2 |
iio: imu: inv_mpu6050: temperature only work with accel/gyro
Temperature sensor works correctly only when accel and/or gyro
is turned on. Prevent polling value if they are not running.
Anyway it doesn't make sense to use it without sensor engines
on.
Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/orientation')
0 files changed, 0 insertions, 0 deletions