projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08ca3b7
)
staging:iio:ad7793: Fix internal reference value
author
Lars-Peter Clausen
<lars@metafoo.de>
Fri, 10 Aug 2012 16:36:00 +0000
(17:36 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Thu, 16 Aug 2012 19:24:35 +0000
(20:24 +0100)
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>
drivers/staging/iio/adc/ad7793.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/iio/adc/ad7793.c
b/drivers/staging/iio/adc/ad7793.c
index 91cb95c676350ca3c3edb91ec0bb4c04ba420e0a..112e2b7b5bc4a5b1c459081ec23f624b3eed5f9f 100644
(file)
--- a/
drivers/staging/iio/adc/ad7793.c
+++ b/
drivers/staging/iio/adc/ad7793.c
@@
-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 =
250
0; /* Build-in ref */
+ st->int_vref_mv =
117
0; /* Build-in ref */
spi_set_drvdata(spi, indio_dev);
st->spi = spi;