From: Dan Carpenter Date: Tue, 26 Jun 2012 07:40:38 +0000 (-0300) Subject: [media] drxk: fix a '&' vs '|' bug X-Git-Tag: v3.6-rc1~40^2^2~71 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22a09b439af25fefbe0ebd1c6c2a0d81e923f2f5;p=pandora-kernel.git [media] drxk: fix a '&' vs '|' bug IQM_AF_CLKNEG_CLKNEGDATA__M is 0x2 and IQM_AF_CLKNEG_CLKNEGDATA_CLK_ADC_DATA_POS is 0. (clkNeg | 0x2) is never equal to zero so the condition can never be true. I consulted with Ralph Metzler and the '|' should be changed to a '&'. Signed-off-by: Dan Carpenter CC: Ralph Metzler Tested-by: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed