[MTD] NAND: Fix timing calculation in CAFÉ debugging message
David Woodhouse
dwmw2 at infradead.org
Tue Nov 7 22:38:28 EST 2006
Commit: a020727b1628cb4d7b70733222253c7fa3ec6113
Parent: 63a1423763c6c38eeeaf6dc8cee986514ab67aed
commit a020727b1628cb4d7b70733222253c7fa3ec6113
Author: David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Sat Oct 28 17:08:38 2006 +0300
Commit: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Sat Oct 28 17:08:38 2006 +0300
[MTD] NAND: Fix timing calculation in CAFÉ debugging message
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
drivers/mtd/nand/cafe.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/nand/cafe.c b/drivers/mtd/nand/cafe.c
index 887040c..35a8687 100644
--- a/drivers/mtd/nand/cafe.c
+++ b/drivers/mtd/nand/cafe.c
@@ -272,7 +272,8 @@ #endif
cpu_relax();
}
writel(doneint, cafe->mmio + CAFE_NAND_IRQ);
- cafe_dev_dbg(&cafe->pdev->dev, "Command %x completed after %d usec, irqs %x (%x)\n", command, 50000-c, irqs, readl(cafe->mmio + CAFE_NAND_IRQ));
+ cafe_dev_dbg(&cafe->pdev->dev, "Command %x completed after %d usec, irqs %x (%x)\n",
+ command, 500000-c, irqs, readl(cafe->mmio + CAFE_NAND_IRQ));
}
More information about the Commits-kernel
mailing list