All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: Joshua Lamorie <joshua.lamorie@xiphos.com>
Cc: Jonathan Cameron <jic23@kernel.org>,
	michal.simek@xilinx.com, linux-iio@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, soren.brinkmann@xilinx.com,
	Fabien Proriol <Fabien.Proriol@jdsu.com>
Subject: Re: [PATCH] iio:xilinx-xadc:xadc_read_raw INFO_OFFSET
Date: Fri, 07 Nov 2014 20:34:27 +0100	[thread overview]
Message-ID: <545D1EC3.30901@metafoo.de> (raw)
In-Reply-To: <1415387516-15051-1-git-send-email-joshua.lamorie@xiphos.com>

On 11/07/2014 08:11 PM, Joshua Lamorie wrote:
> Added a condition for a read of IIO_CHAN_INFO_OFFSET to
> ensure that an offset is only provided for requests for XADC temperature. The
> previous assumption was that only requests for temperature would include a
> read of CHAN_INFO_OFFSET. However there is no way to restrict this in calling
> functions, such as iio_convert_raw_to_processed_unlocked() which is called when
> using the XADC as a device for iio_hwmon.

Fabien send pretty much the same patch yesterday. See 
http://thread.gmane.org/gmane.linux.kernel.iio/14579

- Lars

WARNING: multiple messages have this Message-ID (diff)
From: lars@metafoo.de (Lars-Peter Clausen)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] iio:xilinx-xadc:xadc_read_raw INFO_OFFSET
Date: Fri, 07 Nov 2014 20:34:27 +0100	[thread overview]
Message-ID: <545D1EC3.30901@metafoo.de> (raw)
In-Reply-To: <1415387516-15051-1-git-send-email-joshua.lamorie@xiphos.com>

On 11/07/2014 08:11 PM, Joshua Lamorie wrote:
> Added a condition for a read of IIO_CHAN_INFO_OFFSET to
> ensure that an offset is only provided for requests for XADC temperature. The
> previous assumption was that only requests for temperature would include a
> read of CHAN_INFO_OFFSET. However there is no way to restrict this in calling
> functions, such as iio_convert_raw_to_processed_unlocked() which is called when
> using the XADC as a device for iio_hwmon.

Fabien send pretty much the same patch yesterday. See 
http://thread.gmane.org/gmane.linux.kernel.iio/14579

- Lars

  reply	other threads:[~2014-11-07 19:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07 19:11 [PATCH] iio:xilinx-xadc:xadc_read_raw INFO_OFFSET Joshua Lamorie
2014-11-07 19:34 ` Lars-Peter Clausen [this message]
2014-11-07 19:34   ` Lars-Peter Clausen

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=545D1EC3.30901@metafoo.de \
    --to=lars@metafoo.de \
    --cc=Fabien.Proriol@jdsu.com \
    --cc=jic23@kernel.org \
    --cc=joshua.lamorie@xiphos.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=soren.brinkmann@xilinx.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 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.