linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: Hartmut Knaack <knaack.h@gmx.de>,
	Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
	linux-iio@vger.kernel.org
Subject: Re: [PATCH 2/5] staging:iio:adis16201: Set self_test_no_autoclear flag
Date: Sat, 16 Apr 2016 13:44:00 +0100	[thread overview]
Message-ID: <57123390.6030306@kernel.org> (raw)
In-Reply-To: <1460732382-6840-2-git-send-email-lars@metafoo.de>

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@metafoo.de>
Applied.
> ---
>  drivers/staging/iio/accel/adis16201_core.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/staging/iio/accel/adis16201_core.c b/drivers/staging/iio/accel/adis16201_core.c
> index 06c0b75..6f3f8ff 100644
> --- a/drivers/staging/iio/accel/adis16201_core.c
> +++ b/drivers/staging/iio/accel/adis16201_core.c
> @@ -167,6 +167,7 @@ static const struct adis_data adis16201_data = {
>  	.diag_stat_reg = ADIS16201_DIAG_STAT,
>  
>  	.self_test_mask = ADIS16201_MSC_CTRL_SELF_TEST_EN,
> +	.self_test_no_autoclear = true,
>  	.startup_delay = ADIS16201_STARTUP_DELAY,
>  
>  	.status_error_msgs = adis16201_status_error_msgs,
> 


  reply	other threads:[~2016-04-16 12:44 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-15 14:59 [PATCH 1/5] iio:adis: Add support for manual self-test flag clear Lars-Peter Clausen
2016-04-15 14:59 ` [PATCH 2/5] staging:iio:adis16201: Set self_test_no_autoclear flag Lars-Peter Clausen
2016-04-16 12:44   ` Jonathan Cameron [this message]
2016-04-15 14:59 ` [PATCH 3/5] staging:iio:adis16203: " Lars-Peter Clausen
2016-04-16 12:44   ` Jonathan Cameron
2016-04-15 14:59 ` [PATCH 4/5] staging:iio:adis16209: " Lars-Peter Clausen
2016-04-16 12:44   ` Jonathan Cameron
2016-04-15 14:59 ` [PATCH 5/5] staging:iio:adis16240: " Lars-Peter Clausen
2016-04-16 12:44   ` Jonathan Cameron
2016-04-16 12:43 ` [PATCH 1/5] iio:adis: Add support for manual self-test flag clear Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57123390.6030306@kernel.org \
    --to=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).