twx-linux/include/linux/iio
Cristina Ciocan ccf54555da iio: Fix IIO_EVENT_CODE_EXTRACT_DIR bit mask
The direction field is set on 7 bits, thus we need to AND it with 0111 111 mask
in order to retrieve it, that is 0x7F, not 0xCF as it is now.

Fixes: ade7ef7ba (staging:iio: Differential channel handling)
Signed-off-by: Cristina Ciocan <cristina.ciocan@intel.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2014-11-15 16:04:56 +00:00
..
accel iio: accel: kxcjk1013 3-axis accelerometer driver 2014-06-14 17:10:21 +01:00
adc
common iio: st_sensors: add devicetree probing support 2014-07-11 21:09:49 +01:00
dac
frequency
gyro
imu iio: adis: Switch sampling frequency attr to core support. 2014-07-07 09:44:17 +01:00
buffer.h iio: Add data_available callback for buffers 2013-12-03 20:22:28 +00:00
consumer.h iio: inkern: add iio_read_channel_average_raw 2014-03-16 18:00:33 +00:00
driver.h
events.h iio: Fix IIO_EVENT_CODE_EXTRACT_DIR bit mask 2014-11-15 16:04:56 +00:00
iio.h iio: Use ktime_get_real_ns() 2014-07-23 15:01:45 -07:00
kfifo_buf.h
machine.h
sysfs.h iio: Add INT_TIME (integration time) channel info attribute 2013-09-14 21:16:44 +01:00
trigger_consumer.h
trigger.h iio:trigger: modify return value for iio_trigger_get 2014-08-25 21:47:22 +01:00
triggered_buffer.h
types.h iio: types: Added support for rotation from north usage attributes 2014-07-20 13:34:45 +01:00