linux/drivers/staging/iio
Jonathan Cameron c5fe7a41ad staging:iio:mag:hmc5843 fix incorrect endianness of channel as a result of missuse of the IIO_ST macro.
This driver sets the shift value equal to IIO_BE (or 1) rather than setting
that to 0 and specificying the endianness.  This means the channel type is
missreported as
[be|le]:u16/16>>1 where the be|le is dependent on the cpu native endianness,
rather than
be:u16/16>>0 resulting in any userspace code using this information, miss
converting the channel and generating thoroughly trashed data.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: stable@vger.kernel.org
2013-12-17 20:32:52 +00:00
..
accel
adc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-11-15 16:47:22 -08:00
addac
cdc
Documentation
frequency
gyro
impedance-analyzer
light
magnetometer staging:iio:mag:hmc5843 fix incorrect endianness of channel as a result of missuse of the IIO_ST macro. 2013-12-17 20:32:52 +00:00
meter spi: Updates for v3.13 2013-11-12 15:01:39 +09:00
resolver
trigger
iio_dummy_evgen.c
iio_dummy_evgen.h
iio_simple_dummy_buffer.c
iio_simple_dummy_events.c
iio_simple_dummy.c
iio_simple_dummy.h
Kconfig
Makefile
ring_hw.h
TODO