From: Jonathan Cameron <jic23@kernel.org>
To: Denis CIOCCA <denis.ciocca@st.com>
Cc: linux-iio@vger.kernel.org, denis.ciocca@gmail.com
Subject: Re: [PATCH] iio:common: added disable function after read info raw data
Date: Sat, 11 May 2013 15:22:52 +0100 [thread overview]
Message-ID: <518E543C.30401@kernel.org> (raw)
In-Reply-To: <1368106549-6352-1-git-send-email-denis.ciocca@st.com>
On 05/09/2013 02:35 PM, Denis CIOCCA wrote:
> Signed-off-by: Denis Ciocca <denis.ciocca@st.com>
Applied to fixes-togreg branch of iio.git
> ---
> drivers/iio/common/st_sensors/st_sensors_core.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/iio/common/st_sensors/st_sensors_core.c b/drivers/iio/common/st_sensors/st_sensors_core.c
> index bd33473..ed9bc8a 100644
> --- a/drivers/iio/common/st_sensors/st_sensors_core.c
> +++ b/drivers/iio/common/st_sensors/st_sensors_core.c
> @@ -312,6 +312,8 @@ int st_sensors_read_info_raw(struct iio_dev *indio_dev,
> goto read_error;
>
> *val = *val >> ch->scan_type.shift;
> +
> + err = st_sensors_set_enable(indio_dev, false);
> }
> mutex_unlock(&indio_dev->mlock);
>
>
prev parent reply other threads:[~2013-05-11 14:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-09 13:35 [PATCH] iio:common: added disable function after read info raw data Denis CIOCCA
2013-05-11 14:22 ` 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=518E543C.30401@kernel.org \
--to=jic23@kernel.org \
--cc=denis.ciocca@gmail.com \
--cc=denis.ciocca@st.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.