From: Wolfram Sang Date: Wed, 25 Aug 2010 12:18:20 +0000 (+0200) Subject: mtd: davinci: fix comment to match the code X-Git-Tag: v5.15~27566^2~68 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=eea116ed0497dc9c4a981b8c7017d758fc835ded;p=mirror_ubuntu-kernels.git mtd: davinci: fix comment to match the code Signed-off-by: Wolfram Sang Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nand/davinci_nand.c b/drivers/mtd/nand/davinci_nand.c index 70698e86e437..e7129591c9c7 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,