commit | 19155762f189b3f3e46a9284752857989eb2c7e2 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Mon Jun 10 15:00:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Tue Jun 11 20:31:00 2013 +0100 |
tree | b7ece99ac6ae5ac2e14d95e3a4c18dd9620fcc5f | |
parent | fe79112153e71f1b03a81294fe75199262d0f956 [diff] |
staging:iio:adis16130: Fix sample reading The driver first does a proper read of the data register, but right after that it does a spi_read, which will overwrite the initial result. It looks as if the extra spi_read was accidentally introduced in commit a5e7363ca ("staging:iio:gyro:adis16130 drop control of adc resolution."), quite likely due to a bad rebase. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>