[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALHRZuo=QSpKdn2R6g90Roeu1pK_NFxhiNELPuTpsayWGm+Ldg@mail.gmail.com>
Date: Sun, 14 Sep 2014 14:00:10 +0530
From: sundeep subbaraya <sundeep.lkml@...il.com>
To: Jonathan Cameron <jic23@...nel.org>
Cc: Lars-Peter Clausen <lars@...afoo.de>,
Subbaraya Sundeep Bhatta <subbaraya.sundeep.bhatta@...inx.com>,
linux-iio@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Michal Simek <michals@...inx.com>, svemula@...inx.com,
anirudh@...inx.com, Subbaraya Sundeep Bhatta <sbhatta@...inx.com>
Subject: Re: [PATCH] iio: adc: xilinx-xadc: assign auxiliary channels address correctly
Thanks Lars and Jonathan,
Sundeep.
On Sun, Sep 14, 2014 at 1:34 AM, Jonathan Cameron <jic23@...nel.org> wrote:
> 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@...inx.com>
>>
>> Acked-by: Lars-Peter Clausen <lars@...afoo.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@...r.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists