On 15/04/16 15:59, Lars-Peter Clausen wrote: > 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@xxxxxxxxxx> Applied. > --- > drivers/staging/iio/accel/adis16240_core.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/staging/iio/accel/adis16240_core.c b/drivers/staging/iio/accel/adis16240_core.c > index a425e18..d5b99e6 100644 > --- a/drivers/staging/iio/accel/adis16240_core.c > +++ b/drivers/staging/iio/accel/adis16240_core.c > @@ -222,6 +222,7 @@ static const struct adis_data adis16240_data = { > .diag_stat_reg = ADIS16240_DIAG_STAT, > > .self_test_mask = ADIS16240_MSC_CTRL_SELF_TEST_EN, > + .self_test_no_autoclear = true, > .startup_delay = ADIS16240_STARTUP_DELAY, > > .status_error_msgs = adis16240_status_error_msgs, > -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html