提交 b0068549 编写于 作者: S Stefan Richter

firewire: ohci: change "context_stop: still active" log message

The present message is mostly just noise.  We only need to be notified
if the "active" flag does not go off before the retry loop terminates.
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 3d36a0df
...@@ -896,11 +896,11 @@ static void context_stop(struct context *ctx) ...@@ -896,11 +896,11 @@ static void context_stop(struct context *ctx)
for (i = 0; i < 10; i++) { for (i = 0; i < 10; i++) {
reg = reg_read(ctx->ohci, CONTROL_SET(ctx->regs)); reg = reg_read(ctx->ohci, CONTROL_SET(ctx->regs));
if ((reg & CONTEXT_ACTIVE) == 0) if ((reg & CONTEXT_ACTIVE) == 0)
break; return;
fw_notify("context_stop: still active (0x%08x)\n", reg);
mdelay(1); mdelay(1);
} }
fw_error("Error: DMA context still active (0x%08x)\n", reg);
} }
struct driver_data { struct driver_data {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册