diff options
author | Marcus Folkesson <marcus.folkesson@gmail.com> | 2014-01-24 11:24:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-02-08 11:26:06 +0000 |
commit | c76782d151dab7ecfdcdf9a01561c2d61d9b490f (patch) | |
tree | 222af39a5e74e699001ffaad38b6283c7b603ef7 /drivers/pnp/isapnp | |
parent | bef44abccb2677e8d16e50b75316d4fd1061be81 (diff) |
iio: adis16400: Set timestamp as the last element in chan_spec
This is necessary since timestamp is calculated as the last element
in iio_compute_scan_bytes().
Without this fix any userspace code reading the layout of the buffer via
sysfs will incorrectly interpret the data leading some nasty corruption.
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: stable@vger.kernel.org
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/pnp/isapnp')
0 files changed, 0 insertions, 0 deletions