]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
DMA: PL330: allow submitting 2 requests at a time
authorJassi Brar <jaswinder.singh@linaro.org>
Wed, 13 Feb 2013 10:43:14 +0000 (16:13 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 15 Apr 2013 04:21:15 +0000 (09:51 +0530)
commit30fb980b99d3896bd891e56fec22191d40007efc
treedd52a62bad0a1d7fab1020fe2b3b05acce9e30a8
parent41ef2d5678d83af030125550329b6ae8b74618fa
DMA: PL330: allow submitting 2 requests at a time

Fix the logic to allow mc programming of second transfer after first
has been done, by removing immediate return upon success and iterating
until we detect QFull or DMAC dying.

Reported-by: Alvaro Moran <dirac3000@gmail.com>
Tested-by: Alvaro Moran <dirac3000@gmail.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c