From patchwork Wed Aug 25 12:18:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [RFC] nand/davinci: Fix comment to match the code From: Wolfram Sang X-Patchwork-Id: 62675 Message-Id: <1282738700-30966-1-git-send-email-w.sang@pengutronix.de> To: linux-mtd@lists.infradead.org Cc: Artem Bityutskiy , davinci-linux-open-source@linux.davincidsp.com, Sudhakar Rajashekhara , Sneha Narnakaje , Wolfram Sang Date: Wed, 25 Aug 2010 14:18:20 +0200 Signed-off-by: Wolfram Sang Cc: Sudhakar Rajashekhara Cc: Sneha Narnakaje Cc: Artem Bityutskiy Acked-by: Wolfram Sang --- Found while debugging a NAND issue with a dm365. drivers/mtd/nand/davinci_nand.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index 2ac7367..53f864a 100644 --- a/drivers/mtd/nand/davinci_nand.c +++ b/drivers/mtd/nand/davinci_nand.c @@ -369,8 +369,9 @@ compare: * after setting the 4BITECC_ADD_CALC_START bit. So if you immediately * begin trying to poll for the state, you may fall right out of your * loop without any of the correction calculations having taken place. - * The recommendation from the hardware team is to wait till ECC_STATE - * reads less than 4, which means ECC HW has entered correction state. + * The recommendation from the hardware team is to initially delay as + * long as ECC_STATE reads less than 4. After that, ECC HW has entered + * correction state. */ do { ecc_state = (davinci_nand_readl(info,