aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/davinci_nand.c
diff options
context:
space:
mode:
authorWolfram Sang <w.sang@pengutronix.de>2010-08-25 08:18:20 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-24 18:42:17 -0400
commiteea116ed0497dc9c4a981b8c7017d758fc835ded (patch)
tree09a49cd83fcffbcdf81e3761d28c4f5f9968c2b6 /drivers/mtd/nand/davinci_nand.c
parenta41ccf5a3e22c3dc1e7be134afdaa97e1aed01e2 (diff)
mtd: davinci: fix comment to match the code
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/davinci_nand.c')
-rw-r--r--drivers/mtd/nand/davinci_nand.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c
index 70698e86e43..e7129591c9c 100644
--- a/drivers/mtd/nand/davinci_nand.c
+++ b/drivers/mtd/nand/davinci_nand.c
@@ -369,8 +369,9 @@ compare:
369 * after setting the 4BITECC_ADD_CALC_START bit. So if you immediately 369 * after setting the 4BITECC_ADD_CALC_START bit. So if you immediately
370 * begin trying to poll for the state, you may fall right out of your 370 * begin trying to poll for the state, you may fall right out of your
371 * loop without any of the correction calculations having taken place. 371 * loop without any of the correction calculations having taken place.
372 * The recommendation from the hardware team is to wait till ECC_STATE 372 * The recommendation from the hardware team is to initially delay as
373 * reads less than 4, which means ECC HW has entered correction state. 373 * long as ECC_STATE reads less than 4. After that, ECC HW has entered
374 * correction state.
374 */ 375 */
375 do { 376 do {
376 ecc_state = (davinci_nand_readl(info, 377 ecc_state = (davinci_nand_readl(info,