Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363225
b: refs/heads/master
c: 7013539
h: refs/heads/master
i:
  363223: 66f2268
v: v3
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed Apr 23, 2013
1 parent b9b9389 commit e91913e
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 0cfee51c7c1fa47d81b3d116df3b53c586aac422
refs/heads/master: 70135393812f4aa10aa891725786a7657064c2fc
7 changes: 4 additions & 3 deletions trunk/drivers/misc/mei/interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,13 +356,14 @@ static int mei_irq_thread_write_complete(struct mei_device *dev, s32 *slots,
return -ENODEV;
}

if (mei_cl_flow_ctrl_reduce(cl))
return -ENODEV;

cl->status = 0;
cb->buf_idx += mei_hdr.length;
if (mei_hdr.msg_complete)
if (mei_hdr.msg_complete) {
if (mei_cl_flow_ctrl_reduce(cl))
return -ENODEV;
list_move_tail(&cb->list, &dev->write_waiting_list.list);
}

return 0;
}
Expand Down

0 comments on commit e91913e

Please sign in to comment.