summaryrefslogtreecommitdiffstats
path: root/drivers/firewire
diff options
context:
space:
mode:
authorKristian Høgsberg2007-04-11 00:11:17 +0200
committerStefan Richter2007-04-12 00:18:57 +0200
commit053b30808f693b2e4bbef2955c2dad0fcacdb806 (patch)
tree5770728137ac182e13239e48a096c1602de8296e /drivers/firewire
parentfirewire: Byteswap iso header so all headers are presented as be32. (diff)
downloadkernel-qcow2-linux-053b30808f693b2e4bbef2955c2dad0fcacdb806.tar.gz
kernel-qcow2-linux-053b30808f693b2e4bbef2955c2dad0fcacdb806.tar.xz
kernel-qcow2-linux-053b30808f693b2e4bbef2955c2dad0fcacdb806.zip
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;