Skip to content

Commit

Permalink
firewire: ohci: change "context_stop: still active" log message
Browse files Browse the repository at this point in the history
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: Stefan Richter <stefanr@s5r6.in-berlin.de>
  • Loading branch information
Stefan Richter committed Jan 24, 2009
1 parent 3d36a0d commit b006854
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/firewire/fw-ohci.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,11 +896,11 @@ static void context_stop(struct context *ctx)
for (i = 0; i < 10; i++) {
reg = reg_read(ctx->ohci, CONTROL_SET(ctx->regs));
if ((reg & CONTEXT_ACTIVE) == 0)
break;
return;

fw_notify("context_stop: still active (0x%08x)\n", reg);
mdelay(1);
}
fw_error("Error: DMA context still active (0x%08x)\n", reg);
}

struct driver_data {
Expand Down

0 comments on commit b006854

Please sign in to comment.