diff options
author | Akshay Bhat <akshay.bhat@timesys.com> | 2016-04-18 15:47:53 -0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2016-04-19 06:30:28 -0700 |
commit | 7a18afe8097731b8ffb6cb5b2b3b418ded77c105 (patch) | |
tree | a6b39b60800292c14a9732f0cd6b0837d5e5c951 /Documentation/hwmon | |
parent | 9735a22799b9214d17d3c231fe377fc852f042e9 (diff) | |
download | linux-7a18afe8097731b8ffb6cb5b2b3b418ded77c105.tar.gz linux-7a18afe8097731b8ffb6cb5b2b3b418ded77c105.tar.bz2 linux-7a18afe8097731b8ffb6cb5b2b3b418ded77c105.zip |
hwmon: (ads7828) Enable internal reference
On ads7828 the internal reference defaults to off upon power up. When
using internal reference, it needs to be turned on and the voltage needs
to settle before normal conversion cycle can be started. Hence perform a
dummy read in the probe to enable the internal reference allowing the
voltage to settle before performing a normal read.
Without this fix, the first read from the ADC when using internal
reference always returns incorrect data.
Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com>
Cc: stable@vger.kernel.org # v4.1+
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions