From 053b30808f693b2e4bbef2955c2dad0fcacdb806 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 10 Apr 2007 18:11:17 -0400 Subject: [PATCH] firewire: Check for CONTEXT_RUN not CONTEXT_ACTIVE when starting AT DMA context. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Doh, bad typo... Signed-off-by: Kristian Høgsberg Signed-off-by: Stefan Richter --- drivers/firewire/fw-ohci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5