From: Dan Carpenter Date: Thu, 7 Nov 2013 08:13:00 +0000 (+0300) Subject: Staging: comedi: pcl730: fix some bitwise vs logical AND bugs X-Git-Tag: v3.13-rc2~16^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9382c06e2d192adec090fb09ff0b699e951f88e1;p=pandora-kernel.git Staging: comedi: pcl730: fix some bitwise vs logical AND bugs These conditions are never true because they use bitwise AND instead of logical ands. Fixes: b3ff824a81e8 ('staging: comedi: drivers: use comedi_dio_update_state() for complex cases') Signed-off-by: Dan Carpenter Acked-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed