OpenCloudOS-Kernel/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 Staging: iio: adt7316-i2c: quoted string split across lines 2013-10-06 23:02:13 -07:00
cdc Fourth round of IIO new drivers, functionality and cleanups for the 3.13 cycle. 2013-10-19 05:16:34 -07:00
frequency staging:iio:ad9951: Use spi_sync_transfer() 2013-10-05 12:01:12 +01:00
gyro iio: gyro: adis16060_core: Use devm_iio_device_alloc 2013-08-17 15:50:56 +01:00
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 staging: iio: ad2s90: Use devm_iio_device_alloc 2013-09-14 11:52:01 +01:00
trigger staging:iio:iio-trig-bfin-timer: Fix compile error 2013-09-28 11:46:18 +01:00
Kconfig staging:iio:dummy fix kfifo_buf kconfig dependency issue if kfifo modular and buffer enabled for built in dummy driver. 2013-09-18 19:43:23 +01:00
Makefile hwmon: Move the IIO client driver for hwmon out of staging 2013-03-23 10:08:15 +00:00
TODO Staging/iio: add TODO reminder 2013-10-01 16:19:17 +01:00
iio_dummy_evgen.c staging:iio: Don't compare boolean values with true/false 2012-10-19 16:19:45 +01:00
iio_dummy_evgen.h staging:iio:dummy Add event support + fake event generator 2011-10-17 15:36:30 -07:00
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 staging:iio: Update email address for Jonathan Cameron. 2012-09-03 20:26:46 +01:00