kernel-ark/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 iio:adc:ad_sigma_delta move to info_mask_(shared_by_type/separate) 2013-03-17 19:49:24 +00:00
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 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.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 iio: Add pressure channel type 2012-11-20 21:26:38 +00:00