From: Lars-Peter Clausen <lars@metafoo.de>
To: Subbaraya Sundeep Bhatta <subbaraya.sundeep.bhatta@xilinx.com>,
jic23@kernel.org, linux-iio@vger.kernel.org,
linux-kernel@vger.kernel.org
Cc: michals@xilinx.com, svemula@xilinx.com, anirudh@xilinx.com,
Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
Subject: Re: [PATCH] iio: adc: xilinx-xadc: assign auxiliary channels address correctly
Date: Fri, 12 Sep 2014 19:25:12 +0200 [thread overview]
Message-ID: <54132C78.9000300@metafoo.de> (raw)
In-Reply-To: <344d9464-c489-42cd-b9c4-a63759f8f6da@BL2FFO11FD040.protection.gbl>
On 09/11/2014 10:55 AM, Subbaraya Sundeep Bhatta wrote:
> This patch fixes incorrect logic for assigning address
> to auxiliary channels of xilinx xadc.
>
> Signed-off-by: Subbaraya Sundeep Bhatta <sbhatta@xilinx.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
> ---
> drivers/iio/adc/xilinx-xadc-core.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/iio/adc/xilinx-xadc-core.c b/drivers/iio/adc/xilinx-xadc-core.c
> index fd2745c..626b397 100644
> --- a/drivers/iio/adc/xilinx-xadc-core.c
> +++ b/drivers/iio/adc/xilinx-xadc-core.c
> @@ -1126,7 +1126,7 @@ static int xadc_parse_dt(struct iio_dev *indio_dev, struct device_node *np,
> chan->address = XADC_REG_VPVN;
> } else {
> chan->scan_index = 15 + reg;
> - chan->scan_index = XADC_REG_VAUX(reg - 1);
> + chan->address = XADC_REG_VAUX(reg - 1);
> }
> num_channels++;
> chan++;
>
next prev parent reply other threads:[~2014-09-12 17:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-11 8:55 [PATCH] iio: adc: xilinx-xadc: assign auxiliary channels address correctly Subbaraya Sundeep Bhatta
2014-09-12 17:25 ` Lars-Peter Clausen [this message]
2014-09-13 20:04 ` Jonathan Cameron
2014-09-14 8:30 ` sundeep subbaraya
2014-10-03 22:34 ` iio commit dates in future (was: Re: [PATCH] iio: adc: xilinx-xadc: assign auxiliary channels address correctly) Anssi Hannula
2014-10-04 10:17 ` iio commit dates in future 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=54132C78.9000300@metafoo.de \
--to=lars@metafoo.de \
--cc=anirudh@xilinx.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=michals@xilinx.com \
--cc=sbhatta@xilinx.com \
--cc=subbaraya.sundeep.bhatta@xilinx.com \
--cc=svemula@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.