twx-linux/include/linux/iio
Alexandre Belloni 1c297a6665 iio: Fix iio_channel_has_info
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.

Cc: <stable@vger.kernel.org> # 3.10.x
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2013-07-02 22:08:20 +01:00
..
adc
common iio:common: Removed stuff macros, added num_data_channels on st_sensors struct and added support on one-shot sysfs reads to 3 byte channel 2013-06-05 18:41:23 +01:00
dac
frequency iio: frequency: adf4350: cast value to unsigned to make code checkers happy 2013-06-04 18:36:52 +01:00
gyro
imu
buffer.h
consumer.h
driver.h
events.h
iio.h iio: Fix iio_channel_has_info 2013-07-02 22:08:20 +01:00
kfifo_buf.h
machine.h
sysfs.h
trigger_consumer.h
trigger.h iio:trigger: Use dev_{set,get}_drvdata for private data management 2013-03-25 21:06:10 +00:00
triggered_buffer.h
types.h