android_kernel_samsung_msm8976/include/linux/iio
Cristina Ciocan 8743a13960 iio: Fix IIO_EVENT_CODE_EXTRACT_DIR bit mask
commit ccf54555da9a5e91e454b909ca6a5303c7d6b910 upstream.

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>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-12-06 15:05:47 -08:00
..
adc iio:adc:ad_sigma_delta move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:24 +00:00
common First set of IIO new drivers and cleanup for the 3.10 cycle. 2013-03-25 10:50:03 -07:00
dac
frequency iio: frequency: ADF4350: Fix potential reference div factor overflow. 2012-08-16 20:24:33 +01:00
gyro itg3200: fix incorrect ifdef comment 2013-03-18 10:59:42 +01:00
imu staging:iio:accel:adis move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:37 +00:00
buffer.h staging:iio: Remove noop call to __iio_update_buffer 2013-01-31 17:56:44 +00:00
consumer.h iio: Update iio_channel_get API to use consumer device pointer as argument 2013-02-06 19:23:52 +00:00
driver.h iio: Simplify iio_map_array_unregister API 2013-02-02 12:02:20 +00:00
events.h iio: Fix IIO_EVENT_CODE_EXTRACT_DIR bit mask 2014-12-06 15:05:47 -08:00
iio.h iio: Fix iio_channel_has_info 2013-07-25 14:07:23 -07:00
kfifo_buf.h iio: Add missing include guards to headers 2012-08-27 18:57:56 +01:00
machine.h staging:iio:in kernel users: Add a data field for channel specific info. 2012-11-10 10:17:27 +00:00
sysfs.h
trigger.h iio:trigger: modify return value for iio_trigger_get 2014-10-05 14:54:11 -07:00
trigger_consumer.h iio:trigger_consumer.h: Add missing includes and forward declarations 2012-08-27 18:57:59 +01:00
triggered_buffer.h
types.h iio: Add pressure channel type 2012-11-20 21:26:38 +00:00