diff options
author | Jonathan Cameron <jic23@kernel.org> | 2013-12-11 18:45:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-12-17 21:50:54 +0000 |
commit | 83d5f3246fc05a629278240c09688fd9960b97db (patch) | |
tree | 6ca2e930b969763a41cdea7e024a5e2c6154e2d7 /firmware | |
parent | c6236c0ce39c809c336ca929f68cf8ad02cf94e0 (diff) |
staging:iio:ad799x fix incorrect endianness specification for buffer elementsiio-fixes-for-3.13d
Due to use of the IIO_ST macro, the endianness element of scan_type was
not being set. The result is that it will default to the cpu endianness
whereas this driver will fill the buffer with big endian data. Thus for
little endian machines, userspace will miss interpret the data.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions