public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Lars-Peter Clausen <lars@metafoo.de>,
	Subbaraya Sundeep Bhatta <subbaraya.sundeep.bhatta@xilinx.com>,
	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: Sat, 13 Sep 2014 21:04:59 +0100	[thread overview]
Message-ID: <5414A36B.3000106@kernel.org> (raw)
In-Reply-To: <54132C78.9000300@metafoo.de>

On 12/09/14 18:25, Lars-Peter Clausen wrote:
> 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>
Applied to the fixes-togreg branch of iio.git and flagged
for stable.

Thanks,

Jonathan
> 
>> ---
>>   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++;
>>
> 
> -- 
> 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-09-13 20:05 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
2014-09-13 20:04   ` Jonathan Cameron [this message]
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=5414A36B.3000106@kernel.org \
    --to=jic23@kernel.org \
    --cc=anirudh@xilinx.com \
    --cc=lars@metafoo.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox