[MTD] NAND: Fix timing calculation in CAFÉ debugging message

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
David Woodhouse 2006-10-28 17:08:38 +03:00
Родитель 63a1423763
Коммит a020727b16
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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));
}