From: Jonathan Cameron <jic23@cam.ac.uk>
To: michael.hennerich@analog.com
Cc: linux-iio@vger.kernel.org,
device-drivers-devel@blackfin.uclinux.org, drivers@analog.com
Subject: Re: [PATCH] iio: cdc: Fix pushed event code - Typo, should be IIO_CAPACITANCE.
Date: Wed, 19 Oct 2011 12:56:21 +0100 [thread overview]
Message-ID: <4E9EBAE5.7090300@cam.ac.uk> (raw)
In-Reply-To: <1319024389-14243-1-git-send-email-michael.hennerich@analog.com>
On 10/19/11 12:39, michael.hennerich@analog.com wrote:
> From: Michael Hennerich <michael.hennerich@analog.com>
>
>
> Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
> ---
> drivers/staging/iio/cdc/ad7150.c | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/staging/iio/cdc/ad7150.c b/drivers/staging/iio/cdc/ad7150.c
> index e185f0e..a761ca9 100644
> --- a/drivers/staging/iio/cdc/ad7150.c
> +++ b/drivers/staging/iio/cdc/ad7150.c
> @@ -473,7 +473,7 @@ static irqreturn_t ad7150_event_handler(int irq, void *private)
> if ((int_status & AD7150_STATUS_OUT1) &&
> !(chip->old_state & AD7150_STATUS_OUT1))
> iio_push_event(indio_dev,
> - IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE,
> + IIO_UNMOD_EVENT_CODE(IIO_CAPACITANCE,
> 0,
> IIO_EV_TYPE_THRESH,
> IIO_EV_DIR_RISING),
> @@ -481,7 +481,7 @@ static irqreturn_t ad7150_event_handler(int irq, void *private)
> else if ((!(int_status & AD7150_STATUS_OUT1)) &&
> (chip->old_state & AD7150_STATUS_OUT1))
> iio_push_event(indio_dev,
> - IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE,
> + IIO_UNMOD_EVENT_CODE(IIO_CAPACITANCE,
> 0,
> IIO_EV_TYPE_THRESH,
> IIO_EV_DIR_FALLING),
> @@ -490,7 +490,7 @@ static irqreturn_t ad7150_event_handler(int irq, void *private)
> if ((int_status & AD7150_STATUS_OUT2) &&
> !(chip->old_state & AD7150_STATUS_OUT2))
> iio_push_event(indio_dev,
> - IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE,
> + IIO_UNMOD_EVENT_CODE(IIO_CAPACITANCE,
> 1,
> IIO_EV_TYPE_THRESH,
> IIO_EV_DIR_RISING),
> @@ -498,7 +498,7 @@ static irqreturn_t ad7150_event_handler(int irq, void *private)
> else if ((!(int_status & AD7150_STATUS_OUT2)) &&
> (chip->old_state & AD7150_STATUS_OUT2))
> iio_push_event(indio_dev,
> - IIO_UNMOD_EVENT_CODE(IIO_VOLTAGE,
> + IIO_UNMOD_EVENT_CODE(IIO_CAPACITANCE,
> 1,
> IIO_EV_TYPE_THRESH,
> IIO_EV_DIR_FALLING),
next prev parent reply other threads:[~2011-10-19 11:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-19 11:39 [PATCH] iio: cdc: Fix pushed event code - Typo, should be IIO_CAPACITANCE michael.hennerich
2011-10-19 11:56 ` Jonathan Cameron [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-10-19 12:41 michael.hennerich
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=4E9EBAE5.7090300@cam.ac.uk \
--to=jic23@cam.ac.uk \
--cc=device-drivers-devel@blackfin.uclinux.org \
--cc=drivers@analog.com \
--cc=linux-iio@vger.kernel.org \
--cc=michael.hennerich@analog.com \
/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).