1
0
Fork 0

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: Stefan Richter <stefanr@s5r6.in-berlin.de>
hifive-unleashed-5.1
Stefan Richter 2009-01-05 20:43:23 +01:00
parent 3d36a0df3b
commit b006854955
1 changed files with 2 additions and 2 deletions

View File

@ -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 {