linux-uconsole/include/linux/iio
Alexandre Belloni 8b68eefae0 iio: Fix iio_channel_has_info
commit 1c297a6665 upstream.

Since the info_mask split, iio_channel_has_info() is not working correctly.
info_mask_separate and info_mask_shared_by_type, it is not possible to compare
them directly with the iio_chan_info_enum enum. Correct that bit using the BIT()
macro.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-25 14:07:23 -07:00
..
adc
common First set of IIO new drivers and cleanup for the 3.10 cycle. 2013-03-25 10:50:03 -07:00
dac
frequency
gyro
imu
buffer.h
consumer.h
driver.h
events.h
iio.h iio: Fix iio_channel_has_info 2013-07-25 14:07:23 -07:00
kfifo_buf.h
machine.h
sysfs.h
trigger.h iio:trigger: Use dev_{set,get}_drvdata for private data management 2013-03-25 21:06:10 +00:00
trigger_consumer.h
triggered_buffer.h
types.h