summaryrefslogtreecommitdiffstats
path: root/drivers/iio/common
diff options
context:
space:
mode:
authorMatt Ranostay2015-12-02 06:05:22 +0100
committerJonathan Cameron2015-12-05 17:40:48 +0100
commit366e65633cf4f117609965cd6e189f2cd11533d2 (patch)
tree353c0dbefc78bd9a5174dac2379d842aa264bce5 /drivers/iio/common
parentiio:configfs: Introduce iio/configfs.h to provide a location for the configfs... (diff)
downloadkernel-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