Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-16 15:23:05 +0100
committerTakashi Iwai <tiwai@suse.de>2019-01-16 15:27:09 +0100
commitabb58c5d9363353403a9b14545f89fa301e0dbd9 (patch)
treed7d28f277363ceeb910c9d236be4b9ea07f0ea51
parent38179ba23fe49624eee0cab3e998f35273cb4a5f (diff)
dma-fence: Allow wait_any_timeout for all fences (bsc#794563).
-rw-r--r--drivers/dma-buf/dma-fence.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/dma-buf/dma-fence.c b/drivers/dma-buf/dma-fence.c
index 9b481728c6bc..08fb77498c45 100644
--- a/drivers/dma-buf/dma-fence.c
+++ b/drivers/dma-buf/dma-fence.c
@@ -557,11 +557,6 @@ dma_fence_wait_any_timeout(struct dma_fence **fences, uint32_t count,
for (i = 0; i < count; ++i) {
struct dma_fence *fence = fences[i];
- if (fence->ops->wait != dma_fence_default_wait) {
- ret = -EINVAL;
- goto fence_rm_cb;
- }
-
cb[i].task = current;
if (dma_fence_add_callback(fence, &cb[i].base,
dma_fence_default_wait_cb)) {