iio: ina2xx: fix channel order in software buffer
authorMarc Titinger <mtitinger@baylibre.com>
Tue, 15 Dec 2015 15:26:22 +0000 (16:26 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 19 Dec 2015 15:06:28 +0000 (15:06 +0000)
commit75e1a3a789e1f7437e4d369a5ba45ebd5dd24490
tree2df787611b00cdf51ade47246aaaa73da0fd6762
parentc34c18195d30aa3b95f5ae1b4349875c45fdb8e4
iio: ina2xx: fix channel order in software buffer

POWER and CURRENT were swapped out in the buffer:
was current2 and power3, correct order is power2 and current3.

Signed-off-by: Marc Titinger <mtitinger@baylibre.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ina2xx-adc.c