]> Git Repo - linux.git/commit
mtd: cafe_nand: fix an & vs | mistake
authorDan Carpenter <[email protected]>
Sat, 9 Jun 2012 16:08:25 +0000 (19:08 +0300)
committerDavid Woodhouse <[email protected]>
Fri, 6 Jul 2012 13:27:13 +0000 (14:27 +0100)
commit48f8b641297df49021093763a3271119a84990a2
treeb993fd13765b70a2dac2df1bdeeb05eb462e83c9
parentea3b2ea24ef0f2ef9c6795b19cff456195b6728a
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 <[email protected]>
Cc: [email protected]
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
drivers/mtd/nand/cafe_nand.c
This page took 0.045777 seconds and 4 git commands to generate.