aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-04-10 18:11:17 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-04-11 18:18:57 -0400
commit053b30808f693b2e4bbef2955c2dad0fcacdb806 (patch)
tree5770728137ac182e13239e48a096c1602de8296e
parent15536221d1f09ae7707f70a183045ee20d8bcf17 (diff)
firewire: Check for CONTEXT_RUN not CONTEXT_ACTIVE when starting AT DMA context.
Doh, bad typo... Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
-rw-r--r--drivers/firewire/fw-ohci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c
index 2229ea0b630e..34eb4681e272 100644
--- a/drivers/firewire/fw-ohci.c
+++ b/drivers/firewire/fw-ohci.c
@@ -662,7 +662,7 @@ at_context_queue_packet(struct context *ctx, struct fw_packet *packet)
662 662
663 /* If the context isn't already running, start it up. */ 663 /* If the context isn't already running, start it up. */
664 reg = reg_read(ctx->ohci, control_set(ctx->regs)); 664 reg = reg_read(ctx->ohci, control_set(ctx->regs));
665 if ((reg & CONTEXT_ACTIVE) == 0) 665 if ((reg & CONTEXT_RUN) == 0)
666 context_run(ctx, 0); 666 context_run(ctx, 0);
667 667
668 return 0; 668 return 0;