]> git.karo-electronics.de Git - linux-beck.git/commit
staging:iio:adis16201: Set self_test_no_autoclear flag
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 15 Apr 2016 14:59:39 +0000 (16:59 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 16 Apr 2016 12:43:42 +0000 (13:43 +0100)
commit24410492868ba816bfd4366b5406d4881b8aee94
tree99b06e60346fa6b145605d5b97f408fb79325d0b
parentaf8a41271b56f6d79cb4d7c7f3ca688a2d97a801
staging:iio:adis16201: 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/adis16201_core.c