Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 363286
b: refs/heads/master
c: 573632c
h: refs/heads/master
v: v3
  • Loading branch information
Jamie Gennis authored and Greg Kroah-Hartman committed Mar 4, 2013
1 parent 9879f71 commit 81928bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 4c67d802119813f11fd7c71ca9e6d0f805ea414a
refs/heads/master: 573632c2eaf87429a89490173f34682bb71f6883
10 changes: 6 additions & 4 deletions trunk/drivers/staging/android/sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,10 +616,12 @@ int sync_fence_wait(struct sync_fence *fence, long timeout)
return fence->status;
}

if (fence->status == 0 && timeout > 0) {
pr_info("fence timeout on [%p] after %dms\n", fence,
jiffies_to_msecs(timeout));
sync_dump();
if (fence->status == 0) {
if (timeout > 0) {
pr_info("fence timeout on [%p] after %dms\n", fence,
jiffies_to_msecs(timeout));
sync_dump();
}
return -ETIME;
}

Expand Down

0 comments on commit 81928bc

Please sign in to comment.