提交 a020727b 编写于 作者: D David Woodhouse

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

Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册