mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
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>
This commit is contained in:
parent
15536221d1
commit
053b30808f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user