staging:iio:adis16209: Set self_test_no_autoclear flag
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 15 Apr 2016 14:59:41 +0000 (16:59 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 16 Apr 2016 12:43:45 +0000 (13:43 +0100)
commit5d116edd71f688d0acc442ad8e66903e26d15d0b
treee8d06056118cd8e82c47c41384795609baf8f6f8
parent26d96e8ea9912d9fc7c48339ed6cf5642390ffff
staging:iio:adis16209: Set self_test_no_autoclear flag

The ADIS16201 does not automatically clear the self test flag bit the self
test has been, so clear it manually. Otherwise we'll see a offset caused by
the self-test bias on the output values during normal operation.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/accel/adis16209_core.c