summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDavid Woodhouse2006-10-28 16:08:38 +0200
committerDavid Woodhouse2006-10-28 16:08:38 +0200
commita020727b1628cb4d7b70733222253c7fa3ec6113 (patch)
treea46fbfb4e79d0f801dacc706debb1aaa0cb4ee61 /drivers
parent[MTD] NAND: Remove empty block ECC workaround (diff)
downloadkernel-qcow2-linux-a020727b1628cb4d7b70733222253c7fa3ec6113.tar.gz
kernel-qcow2-linux-a020727b1628cb4d7b70733222253c7fa3ec6113.tar.xz
kernel-qcow2-linux-a020727b1628cb4d7b70733222253c7fa3ec6113.zip
[MTD] NAND: Fix timing calculation in CAFÉ debugging message
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/cafe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/nand/cafe.c b/drivers/mtd/nand/cafe.c
index 887040c6c2d6..35a868708e03 100644
--- 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));
}