From: Alexandre Belloni Date: Mon, 1 Jul 2013 14:20:00 +0000 (+0100) Subject: iio: Fix iio_channel_has_info X-Git-Tag: v3.11-rc2~3^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c297a66654a3295ae87e2b7f3724d214eb2b5ec;p=pandora-kernel.git 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: # 3.10.x Signed-off-by: Alexandre Belloni Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed