commit | 1385858ee07cbfd68c503a10e4a526d24223d465 | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Fri Jan 22 22:22:52 2010 +0100 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Fri Feb 26 16:56:35 2010 +0000 |
tree | f0d4a3de0a8f21e0cbbbdab61e7e9f43abe2018f | |
parent | c3341d0ceb4de1680572024f50233403c6a8b10d [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>