]> 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)
commit39e59d18cba664a59b02be2509255602b89dc877
tree5cd42fd7e59a93ec378c2ff2aaa8997ffbf0b250
parent4d60f07ac2100d1fc97f6ae7c4136280106c867d
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