]> git.baikalelectronics.ru Git - kernel.git/commit
staging:iio:adis16203: Set self_test_no_autoclear flag
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 15 Apr 2016 14:59:40 +0000 (16:59 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 16 Apr 2016 12:43:43 +0000 (13:43 +0100)
commit8ef68f24c5942b6a0330129eec37f47cce7c5e55
treefea354d92de07276a551ea802f8a5e7ed7aa0940
parent7a852a6bb7370e7e5afa63ebf9100f89fae18fdc
staging:iio:adis16203: 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/adis16203_core.c