summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ofpart.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-06-09 18:08:25 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-07-06 15:27:13 +0200
commit48f8b641297df49021093763a3271119a84990a2 (patch)
treeb993fd13765b70a2dac2df1bdeeb05eb462e83c9 /drivers/mtd/ofpart.c
parentmtd: nand: initialize bitflip_threshold prior to BBT scanning (diff)
downloadlinux-48f8b641297df49021093763a3271119a84990a2.tar.xz
linux-48f8b641297df49021093763a3271119a84990a2.zip
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 <dan.carpenter@oracle.com> Cc: stable@vger.kernel.org Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/ofpart.c')
0 files changed, 0 insertions, 0 deletions