aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorStefan-Gabriel Mirea <[email protected]>2017-07-06 10:06:41 +0100
committerJonathan Cameron <[email protected]>2017-07-06 19:39:28 +0100
commitd466d3c1217406b14b834335b5b4b33c0d45bd09 (patch)
tree9a012be79bd30126f336fb2b307d5328622569e8 /lib/mpi/mpi-inline.h
parenta7b8829d242b1a58107e9c02b09e93aec446d55c (diff)
iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits
In order to select the alternate voltage reference pair (VALTH/VALTL), the right value for the REFSEL field in the ADCx_CFG register is "01", leading to 0x800 as register mask. See section 8.2.6.4 in the reference manual[1]. [1] http://www.nxp.com/docs/en/reference-manual/VFXXXRM.pdf Fixes: a775427632fd ("iio:adc:imx: add Freescale Vybrid vf610 adc driver") Signed-off-by: Stefan-Gabriel Mirea <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions