iio:st_sensors: emulate SMBus block read if needed
authorGregor Boirie <gregor.boirie@parrot.com>
Tue, 19 Apr 2016 09:18:39 +0000 (11:18 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 29 May 2016 15:04:17 +0000 (16:04 +0100)
commit169a88c1ee19b0734c9703d51a6d8ebe538f5bc3
tree05f6d4fe1b34fa122a266cbaae8f06e34f88a857
parentdfe3ab1af0765eb800da5ce4cb4c685783096d9c
iio:st_sensors: emulate SMBus block read if needed

Use SMBus "block read" protocol only when supported by adapter.

Signed-off-by: Gregor Boirie <gregor.boirie@parrot.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/common/st_sensors/st_sensors_i2c.c