iio:adis: Add support for manual self-test flag clear
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 15 Apr 2016 14:59:38 +0000 (16:59 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 16 Apr 2016 12:42:43 +0000 (13:42 +0100)
commitaf8a41271b56f6d79cb4d7c7f3ca688a2d97a801
treeaff84a8a57ecd57040887a84013c8a709a7e151e
parent964d97bdab7d81bb65453d84ed3a51f4605a7e9c
iio:adis: Add support for manual self-test flag clear

Some variants of the devices from the ADIS family don't auto-clear the
self-test bit after the self-test has completed. Instead we have to
manually clear. Add support for this to the ADIS library.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/adis.c
include/linux/iio/imu/adis.h