Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294125
b: refs/heads/master
c: 0c0efba
h: refs/heads/master
i:
  294123: f1cb014
v: v3
  • Loading branch information
Clemens Ladisch authored and Stefan Richter committed Mar 17, 2012
1 parent 08991b4 commit 34134ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cfda62baa474b194802a555d3f7f2ccfa27e28bb
refs/heads/master: 0c0efbacab8d70700d13301e0ae7975783c0cb0a
5 changes: 2 additions & 3 deletions trunk/drivers/firewire/ohci.c
Original file line number Diff line number Diff line change
Expand Up @@ -2751,7 +2751,7 @@ static int handle_ir_buffer_fill(struct context *context,
container_of(context, struct iso_context, context);
u32 buffer_dma;

if (!last->transfer_status)
if (last->res_count != 0)
/* Descriptor(s) not done yet, stop iteration */
return 0;

Expand All @@ -2765,8 +2765,7 @@ static int handle_ir_buffer_fill(struct context *context,
if (le16_to_cpu(last->control) & DESCRIPTOR_IRQ_ALWAYS)
ctx->base.callback.mc(&ctx->base,
le32_to_cpu(last->data_address) +
le16_to_cpu(last->req_count) -
le16_to_cpu(last->res_count),
le16_to_cpu(last->req_count),
ctx->base.callback_data);

return 1;
Expand Down

0 comments on commit 34134ae

Please sign in to comment.