]> git.baikalelectronics.ru Git - kernel.git/commit
staging:iio: ad7152: fix channel assignment for AD7153
authorMichael Hennerich <michael.hennerich@analog.com>
Fri, 2 Sep 2011 16:25:47 +0000 (17:25 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Sep 2011 23:03:38 +0000 (16:03 -0700)
commit52e8e752462e15ccaf7a5a21b062b3a29616295d
treeb1a5c2d3a26b8051c6f25fcb9cf93841c4bc92f4
parentd83681582e47730257b274c2ea38cf9c1c5958cd
staging:iio: ad7152: fix channel assignment for AD7153

In case the AD7153 is selected we need to make sure we provide channel info
for the first capacitance input in both single ended and differential
configuration.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/ad7152.c