diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-04-10 22:11:17 (GMT) |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-04-11 22:18:57 (GMT) |
commit | 053b30808f693b2e4bbef2955c2dad0fcacdb806 (patch) | |
tree | 5770728137ac182e13239e48a096c1602de8296e /drivers/firewire | |
parent | 15536221d1f09ae7707f70a183045ee20d8bcf17 (diff) | |
download | linux-fsl-qoriq-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index 2229ea0..34eb468 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; |