diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2010-01-23 00:22:52 +0300 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-02-26 19:56:35 +0300 |
commit | 1385858ee07cbfd68c503a10e4a526d24223d465 (patch) | |
tree | f0d4a3de0a8f21e0cbbbdab61e7e9f43abe2018f /drivers/mtd/nand/Makefile | |
parent | c3341d0ceb4de1680572024f50233403c6a8b10d (diff) | |
download | linux-1385858ee07cbfd68c503a10e4a526d24223d465.tar.xz |
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/Makefile')
0 files changed, 0 insertions, 0 deletions