mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue