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>
This commit is contained in:
parent
964d97bdab
commit
af8a41271b
2 changed files with 7 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue