projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a1423
)
[MTD] NAND: Fix timing calculation in CAFÉ debugging message
author
David Woodhouse
<dwmw2@infradead.org>
Sat, 28 Oct 2006 14:08:38 +0000
(17:08 +0300)
committer
David Woodhouse
<dwmw2@infradead.org>
Sat, 28 Oct 2006 14:08:38 +0000
(17:08 +0300)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/cafe.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/cafe.c
b/drivers/mtd/nand/cafe.c
index 887040c6c2d6b4017a225d4d990830b996049f0e..35a868708e032f08abe4d83924478c890ca16d1b 100644
(file)
--- a/
drivers/mtd/nand/cafe.c
+++ b/
drivers/mtd/nand/cafe.c
@@
-272,7
+272,8
@@
static void cafe_nand_cmdfunc(struct mtd_info *mtd, unsigned command,
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));
}