iio: adc: xilinx-xadc: assign auxiliary channels address correctly
authorSubbaraya Sundeep Bhatta <subbaraya.sundeep.bhatta@xilinx.com>
Sun, 9 Nov 2014 09:55:00 +0000 (09:55 +0000)
committerJonathan Cameron <jic23@kernel.org>
Sun, 14 Sep 2014 17:18:22 +0000 (18:18 +0100)
commit1887e724e2b6df06847522fe9dc2ab53639516cc
treec89e89ede791bc567e91d5b97711678c29034fcd
parent0495081179212b758775df752e657ea71dcae020
iio: adc: xilinx-xadc: assign auxiliary channels address correctly

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>
Cc: Stable@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/xilinx-xadc-core.c