iio:imu:adis: Add support for 32bit registers
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 20 Nov 2012 13:36:00 +0000 (13:36 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 20 Nov 2012 19:51:29 +0000 (19:51 +0000)
commit57a1228a06b7a5939a8b0078a92b44fa30855bcb
treeb0cfaf71667f2026fc1d1e7d3ede704731e7d7b6
parent78026a6fde8f7b0ca77c059da11f476d69dfde3b
iio:imu:adis: Add support for 32bit registers

Some of the newer generation devices from the ADIS16XXX family have 32bit wide
register which spans two 16bit wide registers. This patch adds support for
reading and writing a 32bit wide register.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/adis.c
drivers/iio/imu/adis_buffer.c
include/linux/iio/imu/adis.h