From: Jaejoon Yoo Date: Wed, 5 Oct 2016 02:19:41 +0000 (+0900) Subject: Revert "dmaengine: pl330: fix bug that cause start the same descs in cyclic" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b0202db2ef6210627d916cf83c183ffd2228d983;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Revert "dmaengine: pl330: fix bug that cause start the same descs in cyclic" This reverts commit 0091b9d6c1ef2caab6cb3b6c0aa75f9948307856. Change-Id: Ideaea8c9a415a544335452f8e6bec969040c02d0 --- diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index de43a520e550..ca9bd8ea49ea 100644 --- a/drivers/dma/pl330.c +++ b/drivers/dma/pl330.c @@ -1037,10 +1037,6 @@ static bool _trigger(struct pl330_thread *thrd) if (!req) return true; - /* Return if req is running */ - if (idx == thrd->req_running) - return true; - desc = req->desc; ns = desc->rqcfg.nonsecure ? 1 : 0; @@ -1728,8 +1724,6 @@ static int pl330_update(struct pl330_dmac *pl330) /* Detach the req */ descdone = thrd->req[active].desc; - thrd->req_running = -1; - if (!descdone->infiniteloop) { thrd->req[active].desc = NULL;