summaryrefslogtreecommitdiff
path: root/drivers/firewire
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-04-11 02:11:17 +0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-04-12 02:18:57 +0400
commit053b30808f693b2e4bbef2955c2dad0fcacdb806 (patch)
tree5770728137ac182e13239e48a096c1602de8296e /drivers/firewire
parent15536221d1f09ae7707f70a183045ee20d8bcf17 (diff)
downloadlinux-053b30808f693b2e4bbef2955c2dad0fcacdb806.tar.xz
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>
Diffstat (limited to 'drivers/firewire')
-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)
/* 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;