summaryrefslogtreecommitdiffstats
path: root/drivers/iio/common
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2017-06-13 00:05:08 +0900
committerJonathan Cameron <jic23@kernel.org>2017-07-01 10:16:49 +0100
commit53d7d8139f652f87e1d9aa877007e757d08fc59e (patch)
tree84d2126d825c6180d78853b24416cbba587b7019 /drivers/iio/common
parente5c2ce6bacfa98fdfc6fe984833656fabaeecd2b (diff)
downloadlinux-53d7d8139f652f87e1d9aa877007e757d08fc59e.tar.bz2
iio: light: tcs3472: fix ATIME register write
The integration time is controlled by the ATIME register only. However, this register is written by i2c_smbus_write_word_data() in write_raw(). We actually don't need to write a subsequent register. So just use i2c_smbus_write_byte_data() instead. Cc: Peter Meerwald <pmeerw@pmeerw.net> Cc: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Acked-by: Peter Meerwald-Stadler <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/common')
0 files changed, 0 insertions, 0 deletions