staging:iio:ad7793: Fix internal reference value
The internal reference for the ad7793 and similar is 1.17V Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
08ca3b7850
commit
87a0c1574d
@ -922,7 +922,7 @@ static int __devinit ad7793_probe(struct spi_device *spi)
|
||||
else if (voltage_uv)
|
||||
st->int_vref_mv = voltage_uv / 1000;
|
||||
else
|
||||
st->int_vref_mv = 2500; /* Build-in ref */
|
||||
st->int_vref_mv = 1170; /* Build-in ref */
|
||||
|
||||
spi_set_drvdata(spi, indio_dev);
|
||||
st->spi = spi;
|
||||
|
Loading…
Reference in New Issue
Block a user