firewire: Check for CONTEXT_RUN not CONTEXT_ACTIVE when starting AT DMA context.
authorKristian Høgsberg <krh@redhat.com>
Tue, 10 Apr 2007 22:11:17 +0000 (18:11 -0400)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 11 Apr 2007 22:18:57 +0000 (00:18 +0200)
Doh, bad typo...

Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/fw-ohci.c

index 2229ea0b630e3fe8292a101313e3e116649321f6..34eb4681e272289bb81ad2e55156d65599ebc24f 100644 (file)
@@ -662,7 +662,7 @@ at_context_queue_packet(struct context *ctx, struct fw_packet *packet)
 
        /* If the context isn't already running, start it up. */
        reg = reg_read(ctx->ohci, control_set(ctx->regs));
-       if ((reg & CONTEXT_ACTIVE) == 0)
+       if ((reg & CONTEXT_RUN) == 0)
                context_run(ctx, 0);
 
        return 0;