]> git.sur5r.net Git - u-boot/commit
NAND: Fix misplaced return statement in nand_{read,write}_skip_bad().
authorScott Wood <scottwood@freescale.com>
Tue, 25 Nov 2008 16:47:02 +0000 (10:47 -0600)
committerScott Wood <scottwood@freescale.com>
Tue, 25 Nov 2008 16:47:02 +0000 (10:47 -0600)
commit2077e348c2a84901022ad95311b47b70361e6daa
treeb8ff7aad19b026a94731c501ccc13596c728b020
parent49a4c7476f5f7c67dc8159537d9fbcdcfa91afb8
NAND: Fix misplaced return statement in nand_{read,write}_skip_bad().

This caused the operation to be needlessly repeated if there were
no bad blocks and no errors.

Signed-off-by: Valeriy Glushkov <gvv@lstec.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
drivers/mtd/nand/nand_util.c