]> git.baikalelectronics.ru Git - kernel.git/commit
iio:imu:adis16400 fix pressure channel scan type
authorJonathan Cameron <jic23@kernel.org>
Wed, 11 Dec 2013 18:45:00 +0000 (18:45 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 17 Dec 2013 20:34:18 +0000 (20:34 +0000)
commit5ee1edb68b15521030ee2cdbb54bc3348c5f12f8
tree5cd42fd7e59a93ec378c2ff2aaa8997ffbf0b250
parent3db296200aa2a70879a79ba45d29c0093464f742
iio:imu:adis16400 fix pressure channel scan type

A single channel in this driver was using the IIO_ST macro.
This does not provide a parameter for setting the endianness of
the channel.  Thus this channel will have been reported as whatever
is the native endianness of the cpu rather than big endian. This
means it would be incorrect on little endian platforms.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: stable@vger.kernel.org
drivers/iio/imu/adis16400_core.c