Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87a0c157 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Jonathan Cameron
Browse files

staging:iio:ad7793: Fix internal reference value



The internal reference for the ad7793 and similar is 1.17V

Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 08ca3b78
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;