iio: adc: twl4030: Fix ADC[3:6] readings
authorAdam YH Lee <adam.yh.lee@gmail.com>
Tue, 4 Aug 2015 18:15:48 +0000 (11:15 -0700)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Oct 2015 09:27:18 +0000 (10:27 +0100)
commit7cc97d77ee8a90a6389b96a62472cddc02475ffc
treedc986693c4a3c94288c07f61520e1c993cd37d7d
parent9ffecb10283508260936b96022d4ee43a7798b4c
iio: adc: twl4030: Fix ADC[3:6] readings

MADC[3:6] reads incorrect values without these two following changes:

- enable the 3v1 bias regulator for ADC[3:6]
- configure ADC[3:6] lines as input, not as USB

Signed-off-by: Adam YH Lee <adam.yh.lee@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/twl4030-madc.c