]> 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, 4 Mar 2013 04:56:04 +0000 (10:26 +0530)
commit76d1109b1355f9a7a81f07d6248b08eee3ee9386
tree6b92914cfcc5e1c74edc442be11ecb43c995437d
parent6dbe51c251a327e012439c4772097a13df43c5b8
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