]> Git Repo - linux.git/commit
iio: inv_mpu6050: Check WHO_AM_I register on probe
authorCrestez Dan Leonard <[email protected]>
Wed, 20 Apr 2016 13:15:11 +0000 (16:15 +0300)
committerJonathan Cameron <[email protected]>
Mon, 25 Apr 2016 19:19:15 +0000 (20:19 +0100)
commitcec0154556f8fe6d3a7f5d370f715283888d1c02
tree7a082b20a86aee92d75492aaf804d5d5dafc0764
parent7bdd3181596d3d95ef39849bc3ef8e5b91cb6ae1
iio: inv_mpu6050: Check WHO_AM_I register on probe

This can be used to distinguish mpu6500. This is a warning rather than
an error because the differences are mostly irrelevant and it's nice to
avoid breaking users with slightly incorrect ACPI/DT.

Signed-off-by: Crestez Dan Leonard <[email protected]>
Acked-by: Ge Gao <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h
This page took 0.050901 seconds and 4 git commands to generate.