Commit a020727b authored by David Woodhouse's avatar David Woodhouse

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

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 63a14237
......@@ -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));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment