Files
android_kernel_xiaomi_sm8450/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
..
2012-06-12 14:50:51 -07:00
2013-03-18 10:59:42 +01:00
2012-06-15 14:39:19 -07:00
2013-07-02 22:08:20 +01:00
2012-11-20 21:26:38 +00:00