]> git.karo-electronics.de Git - karo-tx-linux.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, 1 Apr 2013 16:42:09 +0000 (22:12 +0530)
commit552f21959874dda20d54963ceaff78f5cb641733
tree8ad9576748432ef629927e6c589aa2ad8904380b
parent07961ac7c0ee8b546658717034fe692fd12eefa9
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