Commit b0068549 authored by Stefan Richter's avatar 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: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment