linux-xiaomi-chiron/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
adc
common
dac
frequency
gyro
imu
buffer.h
consumer.h
driver.h
events.h
iio.h
kfifo_buf.h
machine.h
sysfs.h
trigger.h
trigger_consumer.h
triggered_buffer.h
types.h