summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/bf5xx_nand.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2010-01-22 22:22:52 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-02-26 16:56:35 +0000
commit1385858ee07cbfd68c503a10e4a526d24223d465 (patch)
treef0d4a3de0a8f21e0cbbbdab61e7e9f43abe2018f /drivers/mtd/nand/bf5xx_nand.c
parentc3341d0ceb4de1680572024f50233403c6a8b10d (diff)
mtd: nand_bcm: fix hot spin and code duplication
In the branch where pagesize equalled NAND_DATA_ACCESS_SIZE, NumToRead wasn't decremented in the `while (numToRead > 11)' loop. Also the first and last while loops were duplicated in both branches. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Leo Chen <leochen@broadcom.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/bf5xx_nand.c')
0 files changed, 0 insertions, 0 deletions