From: Kristian Høgsberg Date: Tue, 10 Apr 2007 22:11:17 +0000 (-0400) Subject: firewire: Check for CONTEXT_RUN not CONTEXT_ACTIVE when starting AT DMA context. X-Git-Tag: v2.6.22-rc1~111^2~26 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=053b30808f693b2e4bbef2955c2dad0fcacdb806;p=linux-2.6 firewire: Check for CONTEXT_RUN not CONTEXT_ACTIVE when starting AT DMA context. Doh, bad typo... Signed-off-by: Kristian Høgsberg Signed-off-by: Stefan Richter --- diff --git a/drivers/firewire/fw-ohci.c b/drivers/firewire/fw-ohci.c index 2229ea0b63..34eb4681e2 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;