summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2015-09-22 21:25:09 -0700
committerJonathan Cameron <jic23@kernel.org>2015-09-30 18:20:53 +0100
commitbf23cee62d5953927758ff6287d300dc945afc84 (patch)
treefebdee95cce25ad92f0fae440d662ae2144c5d65 /drivers/iio/adc
parent83234554ef3a9549d83d08c9aafbe041c75d3a89 (diff)
downloadop-kernel-dev-bf23cee62d5953927758ff6287d300dc945afc84.zip
op-kernel-dev-bf23cee62d5953927758ff6287d300dc945afc84.tar.gz
iio: chemical: vz89x hardware i2c workaround
Chipset sometime updates in the middle of a reading causing it to reset the data pointer, and causing invalid reading of previous data. We can check for this invalid state by reading MSB of the resistance reading that is always zero, and by also confirming the VOC_short isn't zero. Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud