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
..
Documentation staging: iio: generic_buffer: initialize ret 2013-10-12 12:19:50 +01:00
accel Staging: iio: fix printk(KERN_ERR .. in lis3l02dq_core.c 2013-10-27 06:59:35 -07:00
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 Fourth round of IIO new drivers, functionality and cleanups for the 3.13 cycle. 2013-10-19 05:16:34 -07:00
frequency
gyro
impedance-analyzer staging:iio:ad5933: Remove redundant call to iio_sw_buffer_preenable() 2013-10-16 19:16:15 +01:00
light staging:iio:tsl2x7x: Switch to new event config interface 2013-10-12 12:50:26 +01:00
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
Kconfig
Makefile
TODO
iio_dummy_evgen.c
iio_dummy_evgen.h
iio_simple_dummy.c staging:iio:simple_dummy: Switch to new event config interface 2013-10-12 12:48:39 +01:00
iio_simple_dummy.h staging:iio:simple_dummy: Switch to new event config interface 2013-10-12 12:48:39 +01:00
iio_simple_dummy_buffer.c staging:iio:simple-dummy: Remove redundant call to iio_sw_buffer_preenable() 2013-10-16 19:15:40 +01:00
iio_simple_dummy_events.c staging:iio:simple_dummy: Switch to new event config interface 2013-10-12 12:48:39 +01:00
ring_hw.h