diff options
author | Sergey Larin <[email protected]> | 2019-03-02 19:54:55 +0300 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2019-03-09 16:55:06 +0000 |
commit | 409a51e0a4a5f908763191fae2c29008632eb712 (patch) | |
tree | 084c49217097ed8718ee04bff5e4a67d59b077e7 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 20ea39ef9f2f911bd01c69519e7d69cfec79fde3 (diff) |
iio: gyro: mpu3050: fix chip ID reading
According to the datasheet, the last bit of CHIP_ID register controls
I2C bus, and the first one is unused. Handle this correctly.
Note that there are chips out there that have a value such that
the id check currently fails.
Signed-off-by: Sergey Larin <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions