summaryrefslogtreecommitdiff
path: root/drivers/iio/common
diff options
context:
space:
mode:
authorMatt Ranostay <mranostay@gmail.com>2015-12-01 21:05:22 -0800
committerJonathan Cameron <jic23@kernel.org>2015-12-05 16:40:48 +0000
commit366e65633cf4f117609965cd6e189f2cd11533d2 (patch)
tree353c0dbefc78bd9a5174dac2379d842aa264bce5 /drivers/iio/common
parent8d6c16dd7213fa43702416e3dd1059e9e36bc758 (diff)
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