commit | cec0154556f8fe6d3a7f5d370f715283888d1c02 | [log] [tgz] |
---|---|---|
author | Crestez Dan Leonard <leonard.crestez@intel.com> | Wed Apr 20 16:15:11 2016 +0300 |
committer | Jonathan Cameron <jic23@kernel.org> | Mon Apr 25 20:19:15 2016 +0100 |
tree | 7a082b20a86aee92d75492aaf804d5d5dafc0764 | |
parent | 7bdd3181596d3d95ef39849bc3ef8e5b91cb6ae1 [diff] |
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 <leonard.crestez@intel.com> Acked-by: Ge Gao <ggao@invensense.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>