sync: fix erase-o in sync_fence_wait
authorErik Gilling <konkers@android.com>
Wed, 22 Aug 2012 01:43:21 +0000 (18:43 -0700)
committer黄涛 <huangtao@rock-chips.com>
Fri, 22 Feb 2013 09:47:05 +0000 (17:47 +0800)
Change-Id: I189707cf658a9f1f2943515c891b43961994e774
Signed-off-by: Erik Gilling <konkers@android.com>
drivers/base/sync.c

index 59631d512650fbc15646cb74367bcdac4e2597dd..8c72dbb179196764f06165d65d903c476803b302 100644 (file)
@@ -567,7 +567,7 @@ int sync_fence_wait(struct sync_fence *fence, long timeout)
                err = wait_event_interruptible_timeout(fence->wq,
                                                       fence->status != 0,
                                                       timeout);
-       } else if (timeout < 0{
+       } else if (timeout < 0{
                err = wait_event_interruptible(fence->wq, fence->status != 0);
        }