diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-01-05 20:43:23 +0100 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-01-24 11:17:27 +0100 |
commit | b006854955254a971096c120d4ef115a7c6145fb (patch) | |
tree | 91c3c3a50c8ed60464701893119d44f63b50f293 /drivers/firewire/fw-ohci.c | |
parent | firewire: keep highlevel drivers attached during brief connection loss (diff) | |
download | linux-b006854955254a971096c120d4ef115a7c6145fb.tar.xz linux-b006854955254a971096c120d4ef115a7c6145fb.zip |
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>
Diffstat (limited to 'drivers/firewire/fw-ohci.c')
-rw-r--r-- | drivers/firewire/fw-ohci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index ab9c01e462ef..9bedd6159f28 100644 --- a/drivers/firewire/fw-ohci.c +++ b/drivers/firewire/fw-ohci.c @@ -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 { |