diff options
author | Matt Ranostay <mranostay@gmail.com> | 2015-09-22 21:25:09 -0700 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-09-30 18:20:53 +0100 |
commit | bf23cee62d5953927758ff6287d300dc945afc84 (patch) | |
tree | febdee95cce25ad92f0fae440d662ae2144c5d65 /drivers/iio/adc | |
parent | 83234554ef3a9549d83d08c9aafbe041c75d3a89 (diff) | |
download | op-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