提交 053b3080 编写于 作者: K Kristian Høgsberg 提交者: Stefan Richter

firewire: Check for CONTEXT_RUN not CONTEXT_ACTIVE when starting AT DMA context.

Doh, bad typo...
Signed-off-by: NKristian Høgsberg <krh@redhat.com>
Signed-off-by: NStefan Richter <stefanr@s5r6.in-berlin.de>
上级 15536221
...@@ -662,7 +662,7 @@ at_context_queue_packet(struct context *ctx, struct fw_packet *packet) ...@@ -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. */ /* If the context isn't already running, start it up. */
reg = reg_read(ctx->ohci, control_set(ctx->regs)); reg = reg_read(ctx->ohci, control_set(ctx->regs));
if ((reg & CONTEXT_ACTIVE) == 0) if ((reg & CONTEXT_RUN) == 0)
context_run(ctx, 0); context_run(ctx, 0);
return 0; return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册