diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2016-04-15 17:59:38 +0300 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-16 15:42:43 +0300 |
commit | af8a41271b56f6d79cb4d7c7f3ca688a2d97a801 (patch) | |
tree | aff84a8a57ecd57040887a84013c8a709a7e151e /include/linux/iio | |
parent | 964d97bdab7d81bb65453d84ed3a51f4605a7e9c (diff) | |
download | linux-af8a41271b56f6d79cb4d7c7f3ca688a2d97a801.tar.xz |
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>
Diffstat (limited to 'include/linux/iio')
-rw-r--r-- | include/linux/iio/imu/adis.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iio/imu/adis.h b/include/linux/iio/imu/adis.h index fa2d01ef8f55..360da7d18a3d 100644 --- a/include/linux/iio/imu/adis.h +++ b/include/linux/iio/imu/adis.h @@ -41,6 +41,7 @@ struct adis_data { unsigned int diag_stat_reg; unsigned int self_test_mask; + bool self_test_no_autoclear; unsigned int startup_delay; const char * const *status_error_msgs; |