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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=053b30808f693b2e4bbef2955c2dad0fcacdb806;p=linux-beck.git 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 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;