aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Gilling2013-02-04 14:37:16 -0600
committerArve Hjønnevåg2013-02-19 19:56:19 -0600
commitae8959d7e62fc16f74cf3746f6f9378b027ed5bb (patch)
tree3107640830e2a26e91dcca4472c768f750589032
parent795297ef2a8480403722baae248c2bb180da917d (diff)
downloadkernel-common-ae8959d7e62fc16f74cf3746f6f9378b027ed5bb.tar.gz
kernel-common-ae8959d7e62fc16f74cf3746f6f9378b027ed5bb.tar.xz
kernel-common-ae8959d7e62fc16f74cf3746f6f9378b027ed5bb.zip
sync: don't log wait timeouts when timeout = 0
Signed-off-by: Erik Gilling <konkers@android.com>
-rw-r--r--drivers/base/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/sync.c b/drivers/base/sync.c
index a97a503f013..8679596bb92 100644
--- a/drivers/base/sync.c
+++ b/drivers/base/sync.c
@@ -615,7 +615,7 @@ int sync_fence_wait(struct sync_fence *fence, long timeout)
615 return fence->status; 615 return fence->status;
616 } 616 }
617 617
618 if (fence->status == 0) { 618 if (fence->status == 0 && timeout > 0) {
619 pr_info("fence timeout on [%p] after %dms\n", fence, 619 pr_info("fence timeout on [%p] after %dms\n", fence,
620 jiffies_to_msecs(timeout)); 620 jiffies_to_msecs(timeout));
621 sync_dump(); 621 sync_dump();