OSDN Git Service

dma-buf: use new iterator in dma_resv_wait_timeout
authorChristian König <christian.koenig@amd.com>
Tue, 15 Jun 2021 13:28:03 +0000 (15:28 +0200)
committerChristian König <christian.koenig@amd.com>
Wed, 6 Oct 2021 07:49:05 +0000 (09:49 +0200)
commitada5c48b11a3df814701daa9cd11305a75a5f1a5
tree96a35de80ae89ea2bcd85d457ab00e28adaaf5a0
parentd3c80698c9f58a0683badf78793eebaa0c71afbd
dma-buf: use new iterator in dma_resv_wait_timeout

This makes the function much simpler since the complex
retry logic is now handled elsewhere.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211005113742.1101-7-christian.koenig@amd.com
drivers/dma-buf/dma-resv.c