From: Dan Carpenter Date: Sat, 9 Jun 2012 16:08:25 +0000 (+0300) Subject: mtd: cafe_nand: fix an & vs | mistake X-Git-Tag: v3.5-rc6~6^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48f8b641297df49021093763a3271119a84990a2;p=pandora-kernel.git mtd: cafe_nand: fix an & vs | mistake The intent here was clearly to set result to true if the 0x40000000 flag was set. But instead there was a | vs & typo and we always set result to true. Artem: check the spec at wiki.laptop.org/images/5/5c/88ALP01_Datasheet_July_2007.pdf and this fix looks correct. Signed-off-by: Dan Carpenter Cc: stable@vger.kernel.org Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed