linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Hartmut Knaack <knaack.h@gmx.de>, linux-iio@vger.kernel.org
Subject: Re: [PATCH]staging:iio:ad799x fix typo in ad799x_events[]
Date: Sat, 08 Feb 2014 10:11:46 +0000	[thread overview]
Message-ID: <52F602E2.60707@kernel.org> (raw)
In-Reply-To: <52F5754B.9060507@gmx.de>



On 08/02/14 00:07, Hartmut Knaack wrote:
> This patch fixes a typo in ad799x_events[], which caused the error "Failed to register event set".
>
> Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>
Good spot!  Applied to the the fixes-togreg branch and marked for stable.
> ---
> diff --git a/drivers/staging/iio/adc/ad799x_core.c b/drivers/staging/iio/adc/ad799x_core.c
> index c1b601ac..bf9081e 100644
> --- a/drivers/staging/iio/adc/ad799x_core.c
> +++ b/drivers/staging/iio/adc/ad799x_core.c
> @@ -393,7 +393,7 @@ static const struct iio_event_spec ad799x_events[] = {
>   	}, {
>   		.type = IIO_EV_TYPE_THRESH,
>   		.dir = IIO_EV_DIR_FALLING,
> -		.mask_separate = BIT(IIO_EV_INFO_VALUE),
> +		.mask_separate = BIT(IIO_EV_INFO_VALUE) |
>   			BIT(IIO_EV_INFO_ENABLE),
>   	}, {
>   		.type = IIO_EV_TYPE_THRESH,
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

      reply	other threads:[~2014-02-08 10:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-08  0:07 [PATCH]staging:iio:ad799x fix typo in ad799x_events[] Hartmut Knaack
2014-02-08 10:11 ` Jonathan Cameron [this message]

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=52F602E2.60707@kernel.org \
    --to=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=linux-iio@vger.kernel.org \
    /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).