diff options
author | Matt Ranostay | 2015-12-02 06:05:22 +0100 |
---|---|---|
committer | Jonathan Cameron | 2015-12-05 17:40:48 +0100 |
commit | 366e65633cf4f117609965cd6e189f2cd11533d2 (patch) | |
tree | 353c0dbefc78bd9a5174dac2379d842aa264bce5 /drivers/iio/common | |
parent | iio:configfs: Introduce iio/configfs.h to provide a location for the configfs... (diff) | |
download | kernel-qcow2-linux-366e65633cf4f117609965cd6e189f2cd11533d2.tar.gz kernel-qcow2-linux-366e65633cf4f117609965cd6e189f2cd11533d2.tar.xz kernel-qcow2-linux-366e65633cf4f117609965cd6e189f2cd11533d2.zip |
iio: proximity: lidar: optimize i2c transactions
Optimize device tranactions using i2c transfers versus multiple
possibly racey i2c_smbus_* function calls, and only one transaction
for distance measurement. Falls back to smbus method if i2c
functionality isn't available.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/common')
0 files changed, 0 insertions, 0 deletions